overscrolling bug fix
This commit is contained in:
parent
bc107d59a7
commit
8665f64a57
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user