diff options
| author | Jeff Carr <[email protected]> | 2024-01-26 02:02:56 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-26 02:02:56 -0600 |
| commit | 9f26bc2d444b662a8ee19700612d6cc31d71df63 (patch) | |
| tree | 697c99415cd425db76a7c36252c0ccad99e34484 /draw.go | |
| parent | 2aed84cf3ae3b51c91d929aa675cdd774a9de0ce (diff) | |
go status moving here
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'draw.go')
| -rw-r--r-- | draw.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -124,11 +124,16 @@ func (rs *RepoStatus) drawGitStatus() { rs.dirtyLabel = gadgets.NewOneLiner(newgrid, "dirty") rs.readOnly = gadgets.NewOneLiner(newgrid, "read only") + rs.goSumStatus = gadgets.NewOneLiner(newgrid, "go mod status") rs.speed = gadgets.NewOneLiner(newgrid, "refresh speed =") rs.speedActual = gadgets.NewOneLiner(newgrid, "speed actual =") } +func (rs *RepoStatus) SetGoSumStatus(s string) { + rs.goSumStatus.SetText(s) +} + func (rs *RepoStatus) drawGitCommands() { rs.gitCommandsGroup = rs.window.Box().NewGroup("git commands") newgrid := rs.gitCommandsGroup.NewGrid("gridnuts", 2, 2) |
