summaryrefslogtreecommitdiffstats
path: root/pkg/gui
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-02-29 09:17:19 +1100
committerJesse Duffield <jessedduffield@gmail.com>2020-02-29 17:46:00 +1100
commita7508a5dfda7a06f5a9d08d4f9f3f957ac589f88 (patch)
treeaa7c452eff1f3197785b9162a90efe1102006ad0 /pkg/gui
parent1a3d765c4cd685e2f503fa048037d70d1227776a (diff)
fix cheatsheet script to support different contexts
Diffstat (limited to 'pkg/gui')
-rw-r--r--pkg/gui/keybindings.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index d3a360874..62715d3b1 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -225,6 +225,7 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Modifier: gocui.ModNone,
Handler: gui.scrollUpMain,
Alternative: "fn+up",
+ Description: gui.Tr.SLocalize("scrollUpMainPanel"),
},
{
ViewName: "",
@@ -232,6 +233,7 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Modifier: gocui.ModNone,
Handler: gui.scrollDownMain,
Alternative: "fn+down",
+ Description: gui.Tr.SLocalize("scrollDownMainPanel"),
},
{
ViewName: "",