aboutsummaryrefslogtreecommitdiffstats
path: root/i_ui.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-20 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-20 20:20:20 +0100
commit52498606aa3ce19844563f01a6c099a2a949bdf0 (patch)
tree721d5ea31d4acafccbd7faf3927e5eed5672196a /i_ui.go
parentwip (diff)
downloadhardflip-52498606aa3ce19844563f01a6c099a2a949bdf0.tar.gz
hardflip-52498606aa3ce19844563f01a6c099a2a949bdf0.tar.bz2
hardflip-52498606aa3ce19844563f01a6c099a2a949bdf0.tar.xz
hardflip-52498606aa3ce19844563f01a6c099a2a949bdf0.tar.zst
hardflip-52498606aa3ce19844563f01a6c099a2a949bdf0.zip
gG
Diffstat (limited to 'i_ui.go')
-rw-r--r--i_ui.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/i_ui.go b/i_ui.go
index 3c0638d..5236ef8 100644
--- a/i_ui.go
+++ b/i_ui.go
@@ -384,8 +384,8 @@ func i_ui(data *Data) {
}
data.s.Show()
i_events(data, &sel, &sel_max, &term_size)
- if int(sel) > term_size[H] - 6 {
- data.list_start += 1
+ if int(sel) > term_size[H] - 4 {
+ // data.list_start = data.list
}
}
}