1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-23 22:24:51 +02:00

move another action into controller

This commit is contained in:
Jesse Duffield
2023-03-23 22:21:42 +11:00
parent f8c9ce33c2
commit 2cba98e3fe
5 changed files with 78 additions and 65 deletions

View File

@@ -154,5 +154,9 @@ func (self *guiCommon) KeybindingsOpts() types.KeybindingsOpts {
}
func (self *guiCommon) IsAnyModeActive() bool {
return self.IsAnyModeActive()
return self.gui.helpers.Mode.IsAnyModeActive()
}
func (self *guiCommon) GetInitialKeybindingsWithCustomCommands() ([]*types.Binding, []*gocui.ViewMouseBinding) {
return self.gui.GetInitialKeybindingsWithCustomCommands()
}