Merge pull request #51 from blink1073/fix-blink

Fix cursor blink
This commit is contained in:
Paris Kasidiaris
2016-04-23 02:26:55 +03:00
+4 -1
View File
@@ -379,6 +379,8 @@
Terminal.options = {};
Terminal.focus = null;
each(keys(Terminal.defaults), function(key) {
Terminal[key] = Terminal.defaults[key];
Terminal.options[key] = Terminal.defaults[key];
@@ -398,7 +400,7 @@
this.showCursor();
this.textarea.focus();
Terminal.focus = this;
};
Terminal.prototype.blur = function() {
@@ -413,6 +415,7 @@
if (this.sendFocus) {
this.send('\x1b[O');
}
Terminal.focus = null;
};
/**