1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-07 06:22:47 -05:00

Jacob's patch to cause Shift to return to copy-and-paste when xterm

mouse tracking is enabled. (This can be turned off if your app
really wants Shift+mouse, but it defaults to on for general
usefulness.)

[originally from svn r1235]
This commit is contained in:
Simon Tatham
2001-09-07 20:35:38 +00:00
parent fdb6435ef9
commit 5fad95e748
5 changed files with 16 additions and 3 deletions

View File

@ -3100,7 +3100,7 @@ void term_mouse(Mouse_Button b, Mouse_Action a, int x, int y,
if ((ldata[cols] & LATTR_MODE) != LATTR_NORM)
selpoint.x /= 2;
if (xterm_mouse) {
if (xterm_mouse && !(cfg.mouse_override && shift)) {
int encstate = 0, r, c;
char abuf[16];
static int is_down = 0;