mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Fix from RDB: patch up mis-aimed fallthroughs in a terminal
emulation switch. (Bug was introduced in mouse reporting.) [originally from svn r1134]
This commit is contained in:
parent
c1f41f9822
commit
b5a6c88da4
@ -1539,18 +1539,20 @@ void term_out(void)
|
||||
break;
|
||||
case 'e': /* move down N lines */
|
||||
compatibility(ANSI);
|
||||
/* FALLTHROUGH */
|
||||
case 'B':
|
||||
move(curs.x, curs.y + def(esc_args[0], 1), 1);
|
||||
seen_disp_event = TRUE;
|
||||
break;
|
||||
case 'a': /* move right N cols */
|
||||
compatibility(ANSI);
|
||||
case ANSI('c', '>'): /* report xterm version */
|
||||
compatibility(OTHER);
|
||||
/* this reports xterm version 136 so that VIM can
|
||||
use the drag messages from the mouse reporting */
|
||||
ldisc_send("\033[>0;136;0c", 11);
|
||||
break;
|
||||
case 'a': /* move right N cols */
|
||||
compatibility(ANSI);
|
||||
/* FALLTHROUGH */
|
||||
case 'C':
|
||||
move(curs.x + def(esc_args[0], 1), curs.y, 1);
|
||||
seen_disp_event = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user