From 5442e92f5110fcf8de5c01f87dca223e64fc39ee Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 19 May 2001 11:34:20 +0000 Subject: [PATCH] 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 --- terminal.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; -- 2.11.0