diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-02-05 16:56:36 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | 145c69d9ae32ec8fbdd6d1e6116efec466a0a709 (patch) | |
tree | b5f3e33943c739a6aee6d04b9a90fb6f1f363502 /pkg/gui/keybindings.go | |
parent | 482bdc4f1ea5448c5e98697ae66221e544ea40dd (diff) |
working again
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 50a8587ec..0083cd940 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -1348,7 +1348,7 @@ func (gui *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBin } mouseKeybindings := []*gocui.ViewMouseBinding{} - for _, c := range gui.allContexts() { + for _, c := range gui.State.Contexts.Flatten() { viewName := c.GetViewName() contextKey := c.GetKey() for _, binding := range c.GetKeybindings(keybindingsOpts) { |