diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-13 23:18:31 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-21 22:07:14 +1100 |
commit | e6be849eb2f01861ad29caa92595f32c2854bfb0 (patch) | |
tree | 3401bc68cc867a95181cc5a07702e8c518e5f33b /pkg/gui/keybindings.go | |
parent | 092f27495a6b362537d2f8b7ff95bf29ee21f285 (diff) |
add remotes context to branches view
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index c02176a4f..a31a8123b 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -631,6 +631,11 @@ func (gui *Gui) keybindings(g *gocui.Gui) error { if err := gui.setInitialContext(); err != nil { return err } + + if err := g.SetTabClickBinding("branches", gui.onBranchesTabClick); err != nil { + return err + } + return nil } |