diff options
author | Anthony HAMON <anthony.hamon@iadvize.com> | 2018-08-06 07:41:59 +0200 |
---|---|---|
committer | Anthony HAMON <anthony.hamon@iadvize.com> | 2018-08-06 07:41:59 +0200 |
commit | 4836e6c9060538b2394d3b8ad7f5140f7439dae7 (patch) | |
tree | 9932f7e83122b1c9f017ac4d8018bd6cc4e9c026 /gui.go | |
parent | 684e8b2e80087f1ae019ca887b16c6f9d6b73d2b (diff) |
remove useless else
Diffstat (limited to 'gui.go')
-rw-r--r-- | gui.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |