update files

This commit is contained in:
nuintun
2015-11-25 11:32:38 +08:00
parent 0b5daac020
commit 1039c0109f
2 changed files with 5 additions and 6 deletions

View File

@@ -7,12 +7,10 @@
module.exports = function (Terminal){
// ESC c Full Reset (RIS).
Terminal.prototype.reset = function (){
console.log(this.options);
this.resetOptions.rows = this.rows;
this.resetOptions.cols = this.cols;
this.options.rows = this.rows;
this.options.cols = this.cols;
Terminal.call(this, this.options);
Terminal.call(this, this.resetOptions);
this.refresh(0, this.rows - 1);
};
};