mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-10 18:48:54 +02:00
Fix selection not being extended by right click when scrolling down
Fix #2443
This commit is contained in:
@@ -1707,7 +1707,7 @@ bool
|
||||
screen_has_selection(Screen *self) {
|
||||
if (is_selection_empty(&self->selection)) return false;
|
||||
IterationData idata;
|
||||
iteration_data(self, &self->selection, &idata, 0, true);
|
||||
iteration_data(self, &self->selection, &idata, -self->historybuf->count, true);
|
||||
if (iteration_data_is_empty(self, &idata)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user