diff options
author | David Chen <weichen2000121@gmail.com> | 2020-01-07 09:50:25 -0800 |
---|---|---|
committer | David Chen <weichen2000121@gmail.com> | 2020-01-07 09:50:25 -0800 |
commit | 529ba45cc74c9f777c0589fa85b4a5f3ee109402 (patch) | |
tree | 14dea64b3b3292f8093e4c184286564e9c8ee4c4 /pkg/gui/options_menu_panel.go | |
parent | 66c7672a0cda3fa95b49d5bb2b6a0d25b4631794 (diff) |
fixed keybinding display in merge_panel.go
Diffstat (limited to 'pkg/gui/options_menu_panel.go')
-rw-r--r-- | pkg/gui/options_menu_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/options_menu_panel.go b/pkg/gui/options_menu_panel.go index 85a25677e..51abb64bb 100644 --- a/pkg/gui/options_menu_panel.go +++ b/pkg/gui/options_menu_panel.go @@ -17,7 +17,7 @@ func (gui *Gui) getBindings(v *gocui.View) []*Binding { bindings := gui.GetInitialKeybindings() for _, binding := range bindings { - if binding.GetKey() != "" && binding.Description != "" { + if GetKeyDisplay(binding.Key) != "" && binding.Description != "" { switch binding.ViewName { case "": bindingsGlobal = append(bindingsGlobal, binding) |