Handle CSI M (delete lines)
This commit is contained in:
parent
15ae8d79a2
commit
f9d42c7182
@ -418,6 +418,17 @@ int ssh_guac_terminal_csi(ssh_guac_terminal* term, char c) {
|
|||||||
|
|
||||||
break;
|
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 */
|
/* Warn of unhandled codes */
|
||||||
default:
|
default:
|
||||||
if (c != ';')
|
if (c != ';')
|
||||||
|
Loading…
Reference in New Issue
Block a user