summaryrefslogtreecommitdiff
path: root/draw.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-26 02:02:56 -0600
committerJeff Carr <[email protected]>2024-01-26 02:02:56 -0600
commit9f26bc2d444b662a8ee19700612d6cc31d71df63 (patch)
tree697c99415cd425db76a7c36252c0ccad99e34484 /draw.go
parent2aed84cf3ae3b51c91d929aa675cdd774a9de0ce (diff)
go status moving here
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'draw.go')
-rw-r--r--draw.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/draw.go b/draw.go
index 5a39e51..af13cca 100644
--- a/draw.go
+++ b/draw.go
@@ -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)