mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 14:04:52 +02:00
Allow extending word selections to non-word chars
This commit is contained in:
@@ -309,7 +309,7 @@ multi_click(Window *w, unsigned int count) {
|
||||
unsigned int y1 = w->mouse_pos.cell_y, y2 = w->mouse_pos.cell_y;
|
||||
switch(count) {
|
||||
case 2:
|
||||
found_selection = screen_selection_range_for_word(screen, w->mouse_pos.cell_x, &y1, &y2, &start, &end);
|
||||
found_selection = screen_selection_range_for_word(screen, w->mouse_pos.cell_x, &y1, &y2, &start, &end, true);
|
||||
mode = EXTEND_WORD;
|
||||
break;
|
||||
case 3:
|
||||
|
||||
Reference in New Issue
Block a user