update files

This commit is contained in:
nuintun
2015-11-24 19:00:34 +08:00
parent bc67b1c0d1
commit 29ec604905
30 changed files with 2009 additions and 8849 deletions

View File

@@ -0,0 +1,13 @@
'use strict';
module.exports = function (Terminal){
Terminal.prototype.ch = function (cur){
return cur ? [this.curAttr, ' '] : [this.defAttr, ' '];
};
Terminal.prototype.is = function (term){
var name = this.termName || Terminal.termName;
return (name + '')
.indexOf(term) === 0;
};
};