mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-25 22:32:13 +02:00
remove useless else
This commit is contained in:
4
gui.go
4
gui.go
@@ -226,10 +226,10 @@ func layout(g *gocui.Gui) error {
|
|||||||
v.Wrap = true
|
v.Wrap = true
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
} else {
|
|
||||||
g.DeleteView("limit")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g.DeleteView("limit")
|
||||||
|
|
||||||
optionsTop := height - 2
|
optionsTop := height - 2
|
||||||
// hiding options if there's not enough space
|
// hiding options if there's not enough space
|
||||||
if height < 30 {
|
if height < 30 {
|
||||||
|
|||||||
Reference in New Issue
Block a user