overscrolling bug fix

This commit is contained in:
anon 2024-08-18 15:52:18 +02:00
parent bc107d59a7
commit 8665f64a57

View File

@ -185,6 +185,13 @@ void update_input() {
}
void tui_refresh(void) {
// XXX: this is dirty
if (selection_relative > last_entry_line_index-1) {
selection_relative = last_entry_line_index-2;
do_redisplay = true;
return;
}
if (do_fullredraw) {
do_fullredraw = false;
full_redraw();