Double-click + drag to select multiple words
This patch reverts part of cb095be0cc5f3a2ca560dd1474a62bc7aa2a5a46 to allow again to double-click and then drag to select multiple words. With this patch, the primary selection is still not updated until you release the mouse's left button, but the selection does not "block" on the first word while trying to double-click and drag. I believe this behaviour has come to be expected by users, since GNOME Terminal, Terminator, xterm, rxvt, major browsers, LibreOffice, and many more significant applications have it. Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
This commit is contained in:
parent
96f5c66755
commit
db1f53fc29
@ -321,7 +321,7 @@ multi_click(Window *w, unsigned int count) {
|
|||||||
}
|
}
|
||||||
if (found_selection) {
|
if (found_selection) {
|
||||||
screen_start_selection(screen, start, y1, false, mode);
|
screen_start_selection(screen, start, y1, false, mode);
|
||||||
screen_update_selection(screen, end, y2, true);
|
screen_update_selection(screen, end, y2, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user