summaryrefslogtreecommitdiff
path: root/toolkit/gocui/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-07 09:18:03 -0500
committerJeff Carr <[email protected]>2023-04-07 09:18:03 -0500
commit820067cbff754cf9a5f96c425d8f31b5949d353c (patch)
tree70d0e9d9be1ca988078a0bffedc66b824d928cc3 /toolkit/gocui/main.go
parentba35c2760687384055d2b7ae733e0f9ac814af4c (diff)
open gocui when DISPLAY=""
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/main.go')
-rw-r--r--toolkit/gocui/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/gocui/main.go b/toolkit/gocui/main.go
index 6821a82..b115786 100644
--- a/toolkit/gocui/main.go
+++ b/toolkit/gocui/main.go
@@ -34,7 +34,7 @@ func Callback(guiCallback chan toolkit.Action) {
}
func Exit() {
- // TODO: exit correctly
+ // TODO: send exit to the plugin
me.baseGui.Close()
}
@@ -51,4 +51,5 @@ func Main(f func()) {
log("This is a test log entry")
MouseMain()
+ me.baseGui.Close()
}