mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-25 22:32:13 +02:00
Add Enabled func to Binding
This commit is contained in:
@@ -171,6 +171,10 @@ func (self *guiCommon) KeybindingsOpts() types.KeybindingsOpts {
|
||||
return self.gui.keybindingOpts()
|
||||
}
|
||||
|
||||
func (self *guiCommon) CallKeybindingHandler(binding *types.Binding) error {
|
||||
return self.gui.callKeybindingHandler(binding)
|
||||
}
|
||||
|
||||
func (self *guiCommon) IsAnyModeActive() bool {
|
||||
return self.gui.helpers.Mode.IsAnyModeActive()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user