diff options
Diffstat (limited to 'i_ui.go')
-rw-r--r-- | i_ui.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -462,8 +462,8 @@ func i_ui(data *HardData) { } ui.s.Show() i_events(data) - if ui.sel > ui.sel_max { - ui.sel = ui.sel_max + if ui.sel >= ui.sel_max { + ui.sel = ui.sel_max - 1 } else if ui.sel < 0 { ui.sel = 0 } |