mirror of
https://github.com/nuintun/command-manager.git
synced 2025-10-20 09:51:31 +08:00
update files
This commit is contained in:
@@ -7,7 +7,12 @@
|
||||
module.exports = function (Terminal){
|
||||
// ESC c Full Reset (RIS).
|
||||
Terminal.prototype.reset = function (){
|
||||
Terminal.call(this, this.cols, this.rows);
|
||||
console.log(this.options);
|
||||
|
||||
this.options.rows = this.rows;
|
||||
this.options.cols = this.cols;
|
||||
|
||||
Terminal.call(this, this.options);
|
||||
this.refresh(0, this.rows - 1);
|
||||
};
|
||||
};
|
||||
|
@@ -131,7 +131,7 @@ module.exports = function (Terminal){
|
||||
break;
|
||||
default:
|
||||
if (ch <= ' ') {
|
||||
out += ' ';
|
||||
out += ' ';
|
||||
} else {
|
||||
if (this.isWide(ch)) i++;
|
||||
|
||||
|
Reference in New Issue
Block a user