Skip to content

Commit

Permalink
Disable ^H shortcut as it is an alias of backspace...
Browse files Browse the repository at this point in the history
Closes: #52
  • Loading branch information
Alkorin committed Feb 8, 2019
1 parent 439d3bb commit 7e91a0f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gui.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@ func (gui *GoCUI) keybindings(g *gocui.Gui) error {
if err := g.SetKeybinding("help", gocui.KeyEnter, gocui.ModNone, func(*gocui.Gui, *gocui.View) error { return gui.hideHelp() }); err != nil {
return err
}
if err := g.SetKeybinding("cmd", gocui.KeyCtrlH, gocui.ModNone, func(*gocui.Gui, *gocui.View) error { return gui.showHelp() }); err != nil {
return err
}
if err := g.SetKeybinding("", gocui.KeyPgup, gocui.ModNone, gui.msgUp); err != nil {
return err
}
Expand Down Expand Up @@ -355,7 +352,6 @@ func (gui *GoCUI) layout(g *gocui.Gui) error {
fmt.Fprintln(v, " \033[32m/quit \033[0mQuit the application")
fmt.Fprintln(v, "")
fmt.Fprintln(v, "List of keyboard shortcuts:")
fmt.Fprintln(v, " \033[32m^H \033[0mDisplay this help")
fmt.Fprintln(v, " \033[32m^P \033[0mPrevious space")
fmt.Fprintln(v, " \033[32m^N \033[0mNext space")
fmt.Fprintln(v, " \033[32m^C \033[0mQuit the application")
Expand Down

0 comments on commit 7e91a0f

Please sign in to comment.