mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
fix click handling
This commit is contained in:
@ -988,12 +988,7 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi
|
||||
bindings = append(bindings, binding)
|
||||
}
|
||||
|
||||
for _, binding := range c.GetMouseKeybindings(opts) {
|
||||
if contextKey != context.GLOBAL_CONTEXT_KEY {
|
||||
binding.FromContext = string(contextKey)
|
||||
}
|
||||
mouseKeybindings = append(mouseKeybindings, binding)
|
||||
}
|
||||
mouseKeybindings = append(mouseKeybindings, c.GetMouseKeybindings(opts)...)
|
||||
}
|
||||
|
||||
for _, viewName := range []string{"status", "branches", "files", "commits", "commitFiles", "stash", "menu"} {
|
||||
|
Reference in New Issue
Block a user