mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
check error from setViewOnBottom
This commit is contained in:
parent
87dc2bcad9
commit
57decdd11d
|
|
@ -271,7 +271,9 @@ func (gui *Gui) layout(g *gocui.Gui) error {
|
|||
appStatusView.BgColor = gocui.ColorDefault
|
||||
appStatusView.FgColor = gocui.ColorCyan
|
||||
appStatusView.Frame = false
|
||||
g.SetViewOnBottom("appStatus")
|
||||
if _, err := g.SetViewOnBottom("appStatus"); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
if v, err := g.SetView("version", optionsVersionBoundary-1, optionsTop, width, optionsTop+2, 0); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue