mirror of
https://github.com/nuintun/command-manager.git
synced 2025-12-22 18:22:13 +08:00
update files
This commit is contained in:
22
bin/terminal/lib/close.js
Normal file
22
bin/terminal/lib/close.js
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* 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 (){};
|
||||
this.onscreen = function (){};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user