diff options
Diffstat (limited to 'toolkit/gocui/help.go')
| -rw-r--r-- | toolkit/gocui/help.go | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/toolkit/gocui/help.go b/toolkit/gocui/help.go index 74143a2..66719bb 100644 --- a/toolkit/gocui/help.go +++ b/toolkit/gocui/help.go @@ -12,25 +12,23 @@ import ( "github.com/awesome-gocui/gocui" ) -func addHelp() { - me.baseGui.SetManagerFunc(helplayout) -} - var helpText []string = []string{"KEYBINDINGS", "", "d: show/hide debugging", - "h: hide widgets", - "s: show all widgets", + "s/h: show/hide all widgets", + "L: list all widgets", "q: quit()", "p: panic()", "o: show Stdout", "l: log to /tmp/witgui.log", - "Ctrl-D: Enable Debugging", + "Ctrl-D: Toggle Debugging", + "Ctrl-V: Toggle Verbose Debugging", "Ctrl-C: Exit", "", } -func helplayout(g *gocui.Gui) error { +func helplayout() error { + g := me.baseGui var err error maxX, _ := g.Size() |
