mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Add Enabled func to Binding
This commit is contained in:
parent
f2f50ccf75
commit
e592d81b60
5 changed files with 36 additions and 5 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue