diff options
author | hitsuji_no_shippo <hitsujinoshippoequalsheeptail@gmail.com> | 2020-03-12 14:26:11 +0900 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-18 22:50:35 +1100 |
commit | 41c76fb748d22d86c23d9b3446b5cf59b2e8e1b6 (patch) | |
tree | b1162865e0d6c45c8323e8022e4a246b64eca862 /pkg/gui/keybindings.go | |
parent | ac0c3b9f924cab2658bec50a6469350d3163b1a2 (diff) |
add close menu keybindings in docs
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 485fead2a..8a6e9c091 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -901,16 +901,18 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { Handler: gui.handleCloseCredentialsView, }, { - ViewName: "menu", - Key: gui.getKey("universal.return"), - Modifier: gocui.ModNone, - Handler: gui.handleMenuClose, + ViewName: "menu", + Key: gui.getKey("universal.return"), + Modifier: gocui.ModNone, + Handler: gui.handleMenuClose, + Description: gui.Tr.SLocalize("closeMenu"), }, { - ViewName: "menu", - Key: gui.getKey("universal.quit"), - Modifier: gocui.ModNone, - Handler: gui.handleMenuClose, + ViewName: "menu", + Key: gui.getKey("universal.quit"), + Modifier: gocui.ModNone, + Handler: gui.handleMenuClose, + Description: gui.Tr.SLocalize("closeMenu"), }, { ViewName: "information", |