diff options
author | Dawid Dziurla <dawidd0811@gmail.com> | 2018-09-04 16:07:31 +0200 |
---|---|---|
committer | Dawid Dziurla <dawidd0811@gmail.com> | 2018-09-04 16:07:31 +0200 |
commit | e21f739f4fbef045c90ab44365105c2d04334a72 (patch) | |
tree | 48bd16548c471dc6b2e630262b0a6369ce6f5e09 /pkg/gui/status_panel.go | |
parent | 97ad4a1643f1ef83b151d78314b9c6bcb50adbfe (diff) |
add renderGlobalOptions
render only global options for all panels
Diffstat (limited to 'pkg/gui/status_panel.go')
-rw-r--r-- | pkg/gui/status_panel.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/gui/status_panel.go b/pkg/gui/status_panel.go index 96eb2d52e..6948e9678 100644 --- a/pkg/gui/status_panel.go +++ b/pkg/gui/status_panel.go @@ -42,9 +42,7 @@ func (gui *Gui) refreshStatus(g *gocui.Gui) error { } func (gui *Gui) renderStatusOptions(g *gocui.Gui) error { - return gui.renderOptionsMap(g, map[string]string{ - "?": gui.Tr.SLocalize("help"), - }) + return gui.renderGlobalOptions(g) } func (gui *Gui) handleCheckForUpdate(g *gocui.Gui, v *gocui.View) error { |