1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

support scrolling extras view

This commit is contained in:
Jesse Duffield
2021-04-11 11:43:07 +10:00
parent 8969464b00
commit f2007f4d95
5 changed files with 78 additions and 32 deletions

View File

@ -1702,6 +1702,16 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Description: gui.Tr.LcViewBulkSubmoduleOptions,
OpensMenu: true,
},
{
ViewName: "extras",
Key: gocui.MouseWheelUp,
Handler: gui.scrollUpExtra,
},
{
ViewName: "extras",
Key: gocui.MouseWheelDown,
Handler: gui.scrollDownExtra,
},
}
for _, viewName := range []string{"status", "branches", "files", "commits", "commitFiles", "stash", "menu"} {