mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-08 04:04:04 +08:00
22 lines
395 B
JavaScript
22 lines
395 B
JavaScript
/**
|
|
* Created by nuintun on 2015/11/24.
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
module.exports = function (Terminal){
|
|
/**
|
|
* close
|
|
*/
|
|
Terminal.prototype.close = function (){
|
|
this.lines = [];
|
|
this.screen = '';
|
|
this.screenLines = [];
|
|
this.readable = false;
|
|
this.writable = false;
|
|
this.write = function (){};
|
|
this.ondata = function (){};
|
|
this.ontitle = function (){};
|
|
};
|
|
};
|