summaryrefslogtreecommitdiff
path: root/toolkit/gocui/main.go
diff options
context:
space:
mode:
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()
}