mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 03:14:07 +08:00
14 lines
261 B
JavaScript
14 lines
261 B
JavaScript
/**
|
|
* Created by nuintun on 2015/11/24.
|
|
*/
|
|
|
|
'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);
|
|
};
|
|
};
|