mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-15 01:34:26 +02:00
fix click handling
This commit is contained in:
@ -57,6 +57,10 @@ func (self *SubCommitsSwitchController) GetKeybindings(opts types.KeybindingsOpt
|
||||
return bindings
|
||||
}
|
||||
|
||||
func (self *SubCommitsSwitchController) GetOnClick() func() error {
|
||||
return self.viewCommits
|
||||
}
|
||||
|
||||
func (self *SubCommitsSwitchController) viewCommits() error {
|
||||
refName := self.context.GetSelectedRefName()
|
||||
if refName == "" {
|
||||
|
Reference in New Issue
Block a user