Handle CSI M (delete lines)

This commit is contained in:
Michael Jumper 2011-08-10 00:16:50 -07:00
parent 15ae8d79a2
commit f9d42c7182

View File

@ -418,6 +418,17 @@ int ssh_guac_terminal_csi(ssh_guac_terminal* term, char c) {
break;
/* L: Delete lines (scroll up) */
case 'M':
amount = argv[0];
if (amount == 0) amount = 1;
ssh_guac_terminal_scroll_up(term,
term->cursor_row, term->scroll_end, amount);
break;
/* Warn of unhandled codes */
default:
if (c != ';')