Skip to content

Commit b9ad622

Browse files
committed
Fix selection not being extended by right click when scrolling down
Fix #2443
1 parent 3bff3bc commit b9ad622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kitty/screen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,7 @@ bool
17071707
screen_has_selection(Screen *self) {
17081708
if (is_selection_empty(&self->selection)) return false;
17091709
IterationData idata;
1710-
iteration_data(self, &self->selection, &idata, 0, true);
1710+
iteration_data(self, &self->selection, &idata, -self->historybuf->count, true);
17111711
if (iteration_data_is_empty(self, &idata)) return false;
17121712
return true;
17131713
}

0 commit comments

Comments
 (0)