mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-10 13:34:05 +08:00
update files
This commit is contained in:
parent
65ee6942b6
commit
8ec477996c
@ -549,7 +549,7 @@ module.exports = function (Terminal){
|
||||
break;
|
||||
// CSI Ps n Device Status Report (DSR).
|
||||
case 'n':
|
||||
if (typeof deviceStatus === 'function') {
|
||||
if (!this.prefix) {
|
||||
this.deviceStatus(this.params);
|
||||
}
|
||||
break;
|
||||
@ -807,9 +807,6 @@ module.exports = function (Terminal){
|
||||
};
|
||||
|
||||
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
|
||||
this.write(data + ' \r\n');
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user