update files

This commit is contained in:
nuintun
2015-11-25 11:27:04 +08:00
parent fd024f01e1
commit 0b5daac020
3 changed files with 17 additions and 8 deletions

View File

@@ -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);
};
};