diff options
author | Ryooooooga <eial5q265e5@gmail.com> | 2022-05-18 21:09:48 +0900 |
---|---|---|
committer | Ryooooooga <eial5q265e5@gmail.com> | 2022-05-18 21:09:48 +0900 |
commit | bfefef92a6d4d2d9d133b70f4bf452341e9995f0 (patch) | |
tree | 38e8bee889fc5f0241a37d8af763d0af48e7cd89 /pkg/gui/keybindings.go | |
parent | 5275161a8813afc9a0cacd890984bddb2591ecac (diff) |
chore(i18n): move `InitialViewTabContextMap` to `gui` package
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 59d2693f2..d7910d18b 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -868,7 +868,7 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi } } - for viewName := range self.State.Contexts.InitialViewTabContextMap(self.c.Tr) { + for viewName := range self.initialViewTabContextMap(self.State.Contexts) { bindings = append(bindings, []*types.Binding{ { ViewName: viewName, @@ -914,7 +914,7 @@ func (gui *Gui) resetKeybindings() error { } } - for viewName := range gui.State.Contexts.InitialViewTabContextMap(gui.c.Tr) { + for viewName := range gui.initialViewTabContextMap(gui.State.Contexts) { viewName := viewName tabClickCallback := func(tabIndex int) error { return gui.onViewTabClick(viewName, tabIndex) } |