summaryrefslogtreecommitdiff
path: root/draw.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-20 21:33:28 -0600
committerJeff Carr <[email protected]>2024-01-20 21:33:28 -0600
commitca5007fa87f410db3d96a47de67e77144c1c6b7b (patch)
treebf355e2f2631fc0d704e896e2cb21791da6f4499 /draw.go
parent7a05ee53abcc5585a727f541a7d685121b7f8145 (diff)
add git pull
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'draw.go')
-rw-r--r--draw.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/draw.go b/draw.go
index fd5af1f..7013416 100644
--- a/draw.go
+++ b/draw.go
@@ -111,7 +111,9 @@ func (rs *RepoStatus) drawGitCommands() {
rs.Update()
})
- newgrid.NewLabel("tmp")
+ newgrid.NewButton("git pull" func() {
+ log.Warn("Add git pull here")
+ })
rs.major = gadgets.NewBasicCombobox(newgrid, "major")
rs.major.Custom = func() {