VT and FF should behave exactly as LF.

This commit is contained in:
Michael Jumper 2013-05-21 00:55:46 -07:00
parent 4763f029a4
commit 438ac8e9bb

View File

@ -102,8 +102,10 @@ int guac_terminal_echo(guac_terminal* term, char c) {
term->cursor_col = 0; term->cursor_col = 0;
break; break;
/* Line feed */ /* Line feed / VT / FF */
case '\n': case '\n':
case '0x0B': /* VT */
case '0x0C': /* FF */
term->cursor_row++; term->cursor_row++;
/* Scroll up if necessary */ /* Scroll up if necessary */