mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 04:45:47 +02:00
Handle mouse-wheel scrolling in confirmation panel
This can easily happen for the breaking changes panel when there are many.
This commit is contained in:
parent
2f4437591e
commit
36fa25fa6d
1 changed files with 10 additions and 0 deletions
|
@ -247,6 +247,16 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi
|
||||||
Modifier: gocui.ModNone,
|
Modifier: gocui.ModNone,
|
||||||
Handler: self.scrollDownConfirmationPanel,
|
Handler: self.scrollDownConfirmationPanel,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
ViewName: "confirmation",
|
||||||
|
Key: gocui.MouseWheelUp,
|
||||||
|
Handler: self.scrollUpConfirmationPanel,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
ViewName: "confirmation",
|
||||||
|
Key: gocui.MouseWheelDown,
|
||||||
|
Handler: self.scrollDownConfirmationPanel,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
ViewName: "submodules",
|
ViewName: "submodules",
|
||||||
Key: opts.GetKey(opts.Config.Universal.CopyToClipboard),
|
Key: opts.GetKey(opts.Config.Universal.CopyToClipboard),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue