Implement another control sequence.
CSI c queries terminal attributes.
This commit is contained in:
parent
668f6d246d
commit
d5b4cb5de0
1 changed files with 13 additions and 0 deletions
13
termemu.js
13
termemu.js
|
|
@ -970,6 +970,15 @@ var termemu = {
|
|||
}
|
||||
this.cmove(null, count - 1);
|
||||
}
|
||||
else if (c == 99) {
|
||||
/* c - query terminal attributes */
|
||||
if (prefix !== null) {
|
||||
debug(1, "Unimplemented CSI sequence: " + comstr);
|
||||
return;
|
||||
}
|
||||
/* "CSI ? 1 ; 2 c" - VT100 */
|
||||
sendback("1b5b3f313b3263");
|
||||
}
|
||||
else if (c == 100) {
|
||||
/* d - go to row */
|
||||
if (prefix || postfix) {
|
||||
|
|
@ -1135,6 +1144,10 @@ var termemu = {
|
|||
if (codenum == 0 || codenum == 2) {
|
||||
setTitle(msgstr);
|
||||
}
|
||||
else if (codenum >= 110 && codenum <= 118) {
|
||||
/* Reset colors that can't be changed yet anyway */
|
||||
debug(0, "Resetting dynamic color " + codenum);
|
||||
}
|
||||
else
|
||||
debug(1, "Unimplemented OSC command " + codenum + " " + msgstr);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue