diff --git a/kitty/screen.c b/kitty/screen.c index 4aa868a47..e0a8e1a0d 100644 --- a/kitty/screen.c +++ b/kitty/screen.c @@ -2696,7 +2696,7 @@ screen_update_selection(Screen *self, index_type x, index_type y, bool in_left_h } if (screen_selection_range_for_line(self, top_line, &start.x, &start.y) && screen_selection_range_for_line(self, bottom_line, &end.x, &end.y)) { bool multiline = top_line != bottom_line; - if (!multiline && self->selections.extend_mode == EXTEND_LINE_FROM_POINT) { + if (self->selections.extend_mode == EXTEND_LINE_FROM_POINT) { if (x > end.y) break; a->x = x; } else a->x = multiline ? 0 : start.x;