mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-17 22:32:58 +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
@ -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…
x
Reference in New Issue
Block a user