Fix VT/FF. Implement DEL and CSI.
This commit is contained in:
parent
438ac8e9bb
commit
225377f197
@ -104,8 +104,8 @@ int guac_terminal_echo(guac_terminal* term, char c) {
|
|||||||
|
|
||||||
/* Line feed / VT / FF */
|
/* Line feed / VT / FF */
|
||||||
case '\n':
|
case '\n':
|
||||||
case '0x0B': /* VT */
|
case 0x0B: /* VT */
|
||||||
case '0x0C': /* FF */
|
case 0x0C: /* FF */
|
||||||
term->cursor_row++;
|
term->cursor_row++;
|
||||||
|
|
||||||
/* Scroll up if necessary */
|
/* Scroll up if necessary */
|
||||||
@ -124,6 +124,15 @@ int guac_terminal_echo(guac_terminal* term, char c) {
|
|||||||
term->char_handler = guac_terminal_escape;
|
term->char_handler = guac_terminal_escape;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* CSI */
|
||||||
|
case 0x9B:
|
||||||
|
term->char_handler = guac_terminal_csi;
|
||||||
|
break;
|
||||||
|
|
||||||
|
/* DEL (ignored) */
|
||||||
|
case 0x7F:
|
||||||
|
break;
|
||||||
|
|
||||||
/* Displayable chars */
|
/* Displayable chars */
|
||||||
default:
|
default:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user