From 438ac8e9bb8d5d06bd3604e2fea9bdaae5f234d6 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 21 May 2013 00:55:46 -0700 Subject: [PATCH] VT and FF should behave exactly as LF. --- protocols/ssh/src/terminal_handlers.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/protocols/ssh/src/terminal_handlers.c b/protocols/ssh/src/terminal_handlers.c index 92f78fed..255f6743 100644 --- a/protocols/ssh/src/terminal_handlers.c +++ b/protocols/ssh/src/terminal_handlers.c @@ -102,8 +102,10 @@ int guac_terminal_echo(guac_terminal* term, char c) { term->cursor_col = 0; break; - /* Line feed */ + /* Line feed / VT / FF */ case '\n': + case '0x0B': /* VT */ + case '0x0C': /* FF */ term->cursor_row++; /* Scroll up if necessary */