summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-16 01:12:55 -0600
committerJeff Carr <[email protected]>2024-01-16 01:12:55 -0600
commit46dbb77317ac68d98c8ae28b5725eb78d3db6071 (patch)
treeaeb496bdf1098885a45d8238c2cc43f244d5c4d9 /main.go
parented4c017bc92fc14da1fcf64c4910164fc6ca3f11 (diff)
make the main window do os.Exit()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 82fc073..dff4d4c 100644
--- a/main.go
+++ b/main.go
@@ -95,6 +95,7 @@ func addRepo(grid *gui.Node, path string, master string, devel string, user stri
func repoworld() {
reposwin = gadgets.NewBasicWindow(myGui, "autotypist for GO & git. it types faster than you can.")
reposwin.Make()
+ reposwin.StandardExit()
reposbox = reposwin.Box().NewBox("bw vbox", false)
reposgroup = reposbox.NewGroup("go repositories (read from ~/.config/myrepolist)")