1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-11-26 09:00:57 +02:00

remove useless else

This commit is contained in:
Anthony HAMON 2018-08-06 07:41:59 +02:00
parent 684e8b2e80
commit 4836e6c906

4
gui.go
View File

@ -226,10 +226,10 @@ func layout(g *gocui.Gui) error {
v.Wrap = true
}
return nil
} else {
g.DeleteView("limit")
}
g.DeleteView("limit")
optionsTop := height - 2
// hiding options if there's not enough space
if height < 30 {