Skip to content
Snippets Groups Projects
Commit 28bfe4a1 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

When ANSI Music is enabled, CSI M with parameters is still delete line

parent e98e7de3
Branches
Tags
1 merge request!455Update branch with changes from master
Pipeline #6298 passed
......@@ -3739,7 +3739,7 @@ static void do_ansi(struct cterminal *cterm, char *retbuf, size_t retsize, int *
cterm_gotoxy(cterm, col, row);
break;
case 'M': /* Delete Line (also ANSI music) */
if(cterm->music_enable==CTERM_MUSIC_ENABLED) {
if(cterm->music_enable==CTERM_MUSIC_ENABLED && seq->param_count == 0) {
cterm->music=1;
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment