update files

This commit is contained in:
nuintun
2015-11-25 12:41:42 +08:00
parent d9b3859480
commit fe56467a2e
3 changed files with 17 additions and 6 deletions

View File

@@ -53,6 +53,9 @@ function Terminal(options){
this.bgColor = options.bgColor || Terminal.defaultColors.bgColor;
this.fgColor = options.fgColor || Terminal.defaultColors.fgColor;
options.handler = typeof options.handler === 'function' ? options.handler : function (){};
this.handler = options.handler;
this.options = options;
this.ybase = 0;