change header toggle shortcut for Ctrlh -> h given backspace windows issue

mine
derailed 2019-10-08 21:19:29 -07:00
parent b0285ca4be
commit 5858fb135b
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ func (a *appView) Init(version string, rate int) {
a.App.Init()
a.AddActions(ui.KeyActions{
tcell.KeyCtrlH: ui.NewKeyAction("ToggleHeader", a.toggleHeaderCmd, false),
ui.KeyH: ui.NewKeyAction("ToggleHeader", a.toggleHeaderCmd, false),
ui.KeyHelp: ui.NewKeyAction("Help", a.helpCmd, false),
tcell.KeyCtrlA: ui.NewKeyAction("Aliases", a.aliasCmd, false),
tcell.KeyEnter: ui.NewKeyAction("Goto", a.gotoCmd, false),

View File

@ -155,7 +155,7 @@ func (v *helpView) showGeneral() ui.Hints {
Description: "Refresh",
},
{
Mnemonic: "Ctrl-h",
Mnemonic: "h",
Description: "Toggle Header",
},
{