diff --git a/src/term.js b/src/term.js index 61f9eee0..3af1a07c 100644 --- a/src/term.js +++ b/src/term.js @@ -1902,12 +1902,16 @@ Terminal.prototype.write = function(data) { // CSI Pm m Character Attributes (SGR). case 'm': - this.charAttributes(this.params); + if (!this.prefix) { + this.charAttributes(this.params); + } break; // CSI Ps n Device Status Report (DSR). case 'n': - this.deviceStatus(this.params); + if (!this.prefix) { + this.deviceStatus(this.params); + } break; /**