mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-04 23:37:41 +02: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…
x
Reference in New Issue
Block a user