implemented CSI ! p as an alias to ESC c
This commit is contained in:
@@ -645,7 +645,7 @@ apars_handle_CSI(char leadchar, const int *params, int count, char keychar)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'x': // DECREPTPARM
|
case 'x': // DECREQTPARM -> DECREPTPARM
|
||||||
if (n1 <= 1) {
|
if (n1 <= 1) {
|
||||||
respond("\033[3;"); // this is a response on request (2 would be gratuitous)
|
respond("\033[3;"); // this is a response on request (2 would be gratuitous)
|
||||||
|
|
||||||
@@ -675,6 +675,16 @@ apars_handle_CSI(char leadchar, const int *params, int count, char keychar)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'p':
|
||||||
|
if (leadchar == '!') { // RIS
|
||||||
|
/* On real VT there are differences between soft and hard reset, we treat both equally */
|
||||||
|
screen_reset();
|
||||||
|
} else {
|
||||||
|
ansi_warn("NOIMPL: CSI");
|
||||||
|
apars_handle_badseq();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
ansi_warn("NOIMPL: CSI Pm %c", keychar);
|
ansi_warn("NOIMPL: CSI Pm %c", keychar);
|
||||||
apars_handle_badseq();
|
apars_handle_badseq();
|
||||||
|
|||||||
Reference in New Issue
Block a user