mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-08 12:14:03 +08:00
11 lines
216 B
JavaScript
11 lines
216 B
JavaScript
'use strict';
|
|
|
|
module.exports = function (Terminal){
|
|
|
|
// ESC c Full Reset (RIS).
|
|
Terminal.prototype.reset = function (){
|
|
Terminal.call(this, this.cols, this.rows);
|
|
this.refresh(0, this.rows - 1);
|
|
};
|
|
};
|