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

Support ignoring CSI n commands.

Fixes issue reported from CCO BBS.
parent 7b2f71f1
No related branches found
No related tags found
No related merge requests found
Pipeline #6170 passed
...@@ -421,6 +421,8 @@ Screen.prototype.print=function(str) { ...@@ -421,6 +421,8 @@ Screen.prototype.print=function(str) {
} }
} }
break; break;
case 'n': // Device status report... no action from this object.
break;
case 's': case 's':
this.saved_pos.x = this.pos.x; this.saved_pos.x = this.pos.x;
this.saved_pos.y = this.pos.y; this.saved_pos.y = this.pos.y;
...@@ -439,7 +441,6 @@ Screen.prototype.print=function(str) { ...@@ -439,7 +441,6 @@ Screen.prototype.print=function(str) {
//if (this.touched.length > 0 || this.full) //if (this.touched.length > 0 || this.full)
break; break;
// Still TODO... // Still TODO...
//case 'n': // Device status report... no action from this object.
//case 'Z': // Back tabulate //case 'Z': // Back tabulate
//case 'S': // Scroll up //case 'S': // Scroll up
//case 'T': // Scroll down //case 'T': // Scroll down
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment