]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - terminal.c
Tiny \n/\r fix in term_mouse.
[PuTTY.git] / 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;