summaryrefslogtreecommitdiffstats
path: root/pkg/gui/keybindings.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-09-18 21:07:25 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-09-18 21:07:25 +1000
commitb384fcf6af4e5248616712414e0164887d7bbcbd (patch)
treec464c806ede33869764bd7476a48ef85ec310946 /pkg/gui/keybindings.go
parentf89bc10af1f9fb4211badd2fee51e903bbc03f6c (diff)
generalise popup menu panel
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r--pkg/gui/keybindings.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index e05caaec7..72a187472 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -93,7 +93,7 @@ func (gui *Gui) GetKeybindings() []*Binding {
ViewName: "",
Key: 'x',
Modifier: gocui.ModNone,
- Handler: gui.handleMenu,
+ Handler: gui.handleCreateOptionsMenu,
}, {
ViewName: "status",
Key: 'e',
@@ -369,11 +369,6 @@ func (gui *Gui) GetKeybindings() []*Binding {
Key: 'q',
Modifier: gocui.ModNone,
Handler: gui.handleMenuClose,
- }, {
- ViewName: "menu",
- Key: gocui.KeySpace,
- Modifier: gocui.ModNone,
- Handler: gui.handleMenuPress,
},
}