implemented CSI ! p as an alias to ESC c

pull/111/merge
Ondřej Hruška 7 years ago
parent 8d9c5bb246
commit 276af04945
  1. 12
      user/ansi_parser_callbacks.c

@ -645,7 +645,7 @@ apars_handle_CSI(char leadchar, const int *params, int count, char keychar)
}
break;
case 'x': // DECREPTPARM
case 'x': // DECREQTPARM -> DECREPTPARM
if (n1 <= 1) {
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;
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:
ansi_warn("NOIMPL: CSI Pm %c", keychar);
apars_handle_badseq();

Loading…
Cancel
Save