From e0c46a41a2eba6e46074ea66cedf9f77bd5b6fb3 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 24 May 2013 13:44:51 -0700 Subject: [PATCH] Interpret ESC[3J as if ESC[2J --- protocols/ssh/src/terminal_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/ssh/src/terminal_handlers.c b/protocols/ssh/src/terminal_handlers.c index 392db46a..93092b0e 100644 --- a/protocols/ssh/src/terminal_handlers.c +++ b/protocols/ssh/src/terminal_handlers.c @@ -534,7 +534,7 @@ int guac_terminal_csi(guac_terminal* term, char c) { term->cursor_row, term->cursor_col); /* Entire screen */ - else if (argv[0] == 2) + else if (argv[0] == 2 || argv[0] == 3) guac_terminal_clear_range(term, 0, 0, term->term_height - 1, term->term_width - 1);