1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-29 22:48:24 +02:00

add renderGlobalOptions

render only global options for all panels
This commit is contained in:
Dawid Dziurla
2018-09-04 16:07:31 +02:00
parent 97ad4a1643
commit e21f739f4f
7 changed files with 23 additions and 31 deletions

View File

@@ -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 {