mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-11 05:55:11 +08:00
update files
This commit is contained in:
parent
65ee6942b6
commit
8ec477996c
@ -549,7 +549,7 @@ module.exports = function (Terminal){
|
|||||||
break;
|
break;
|
||||||
// CSI Ps n Device Status Report (DSR).
|
// CSI Ps n Device Status Report (DSR).
|
||||||
case 'n':
|
case 'n':
|
||||||
if (typeof deviceStatus === 'function') {
|
if (!this.prefix) {
|
||||||
this.deviceStatus(this.params);
|
this.deviceStatus(this.params);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -807,9 +807,6 @@ module.exports = function (Terminal){
|
|||||||
};
|
};
|
||||||
|
|
||||||
Terminal.prototype.writeln = function (data){
|
Terminal.prototype.writeln = function (data){
|
||||||
// at times spaces appear in between escape chars and fixIndent fails us, so we fix it here
|
|
||||||
data = data.replace(/ /g, ' ');
|
|
||||||
|
|
||||||
// adding empty char before line break ensures that empty lines render properly
|
// adding empty char before line break ensures that empty lines render properly
|
||||||
this.write(data + ' \r\n');
|
this.write(data + ' \r\n');
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user