Fix VT/FF. Implement DEL and CSI.

This commit is contained in:
Michael Jumper 2013-05-21 00:57:44 -07:00
parent 438ac8e9bb
commit 225377f197

View File

@ -104,8 +104,8 @@ int guac_terminal_echo(guac_terminal* term, char c) {
/* Line feed / VT / FF */
case '\n':
case '0x0B': /* VT */
case '0x0C': /* FF */
case 0x0B: /* VT */
case 0x0C: /* FF */
term->cursor_row++;
/* Scroll up if necessary */
@ -124,6 +124,15 @@ int guac_terminal_echo(guac_terminal* term, char c) {
term->char_handler = guac_terminal_escape;
break;
/* CSI */
case 0x9B:
term->char_handler = guac_terminal_csi;
break;
/* DEL (ignored) */
case 0x7F:
break;
/* Displayable chars */
default: