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;