diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 11:43:07 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 17:07:49 +1000 |
commit | f2007f4d95b7d8b9c454bb00ea087f09a52a4fb4 (patch) | |
tree | 499d74d9622f49622421a13494ce82c63901c47e /pkg/gui/keybindings.go | |
parent | 8969464b00c91f3aec1a0ff6e9724eacd87c790f (diff) |
support scrolling extras view
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index ce1e53134..c2a420e8a 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -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"} { |