From 93b8d9342b9e1266ccfb2f4c004b554d430061ce Mon Sep 17 00:00:00 2001 From: nuintun Date: Thu, 26 Nov 2015 11:32:46 +0800 Subject: [PATCH] update files --- static/js/terminal/lib/cursor.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/js/terminal/lib/cursor.js b/static/js/terminal/lib/cursor.js index caedbf7..c45c4b1 100644 --- a/static/js/terminal/lib/cursor.js +++ b/static/js/terminal/lib/cursor.js @@ -46,11 +46,9 @@ module.exports = function (Terminal){ * startBlink */ Terminal.prototype.startBlink = function (){ - if (this.cursor && this.cursorBlink) { + if (this.cursor && this.cursorBlink && !this._blink) { var context = this; - clearInterval(this._blink); - this._blinker = function (){ if (context._cursor) { context.cursorState ^= 1;