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

@@ -22,10 +22,10 @@ module.exports = function (Terminal){
Terminal.prototype.startBlink = function (){
if (!this.cursorBlink) return;
var self = this;
var context = this;
this._blinker = function (){
self.blinkCursor();
context.blinkCursor();
};
this._blink = setInterval(this._blinker, 500);