]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Tiny \n/\r fix in term_mouse.
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 9 Mar 1999 00:08:41 +0000 (00:08 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 9 Mar 1999 00:08:41 +0000 (00:08 +0000)
[originally from svn r80]

terminal.c

index 1bec9cc47c2f24307e32d812dd1cf66b4b7b6ba0..6df444a375c5ac646f53f56d8707edf2c6cee990 100644 (file)
@@ -1517,7 +1517,7 @@ void term_mouse (Mouse_Button b, Mouse_Action a, int x, int y) {
                back->send (q, p-q);
                if (p <= data+len-sizeof(sel_nl) &&
                    !memcmp(p, sel_nl, sizeof(sel_nl))) {
-                   back->send ("\r", 1);
+                   back->send ("\n", 1);
                    p += sizeof(sel_nl);
                }
                q = p;