diff options
| author | Jeff Carr <[email protected]> | 2023-04-26 20:56:25 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-26 20:56:25 -0500 |
| commit | e3cf42f1da9ec0ed07a7f346a0ce9c9ff10295c1 (patch) | |
| tree | 0fe6fe28f11ccb3d1d6a989349071928f4a7ccb9 /toolkit/gocui/keybindings.go | |
| parent | 5b217fa23af4e5040d5f09d9840ddc426a315960 (diff) | |
gocui: log() output works
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/keybindings.go')
| -rw-r--r-- | toolkit/gocui/keybindings.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/gocui/keybindings.go b/toolkit/gocui/keybindings.go index dd39e2d..66c098b 100644 --- a/toolkit/gocui/keybindings.go +++ b/toolkit/gocui/keybindings.go @@ -76,13 +76,13 @@ func addDebugKeys(g *gocui.Gui) { g.SetKeybinding("", 'q', gocui.ModNone, func(g *gocui.Gui, v *gocui.View) error { me.baseGui.Close() - exit("forced exit() from within gocui") + sendBackQuit() return nil }) g.SetKeybinding("", gocui.KeyCtrlC, gocui.ModNone, func(g *gocui.Gui, v *gocui.View) error { me.baseGui.Close() - exit("forced exit() from within gocui") + sendBackQuit() return nil }) |
