Merge pull request #639 from Tyriar/638_retain_cursor_blink_interface

Keep cursor blink interval after a reset
This commit is contained in:
Daniel Imms
2017-04-21 17:59:51 -07:00
committed by GitHub
+2
View File
@@ -2193,8 +2193,10 @@ Terminal.prototype.reset = function() {
this.options.rows = this.rows;
this.options.cols = this.cols;
var customKeydownHandler = this.customKeydownHandler;
var cursorBlinkInterval = this.cursorBlinkInterval;
Terminal.call(this, this.options);
this.customKeydownHandler = customKeydownHandler;
this.cursorBlinkInterval = cursorBlinkInterval;
this.refresh(0, this.rows - 1);
this.viewport.syncScrollArea();
};