From: simon Date: Sat, 19 May 2001 11:34:20 +0000 (+0000) Subject: Fix from RDB: patch up mis-aimed fallthroughs in a terminal X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/5442e92f5110fcf8de5c01f87dca223e64fc39ee Fix from RDB: patch up mis-aimed fallthroughs in a terminal emulation switch. (Bug was introduced in mouse reporting.) git-svn-id: svn://svn.tartarus.org/sgt/putty@1134 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/terminal.c b/terminal.c index 80d66dc2..9f623e55 100644 --- a/terminal.c +++ b/terminal.c @@ -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;