mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
minor. do not emit 'open'.
This commit is contained in:
+2
-1
@@ -431,6 +431,7 @@ Terminal.bindKeys = function(document) {
|
||||
if (!Terminal.focus) return;
|
||||
|
||||
var el = ev.target || ev.srcElement;
|
||||
if (!el) return;
|
||||
|
||||
do {
|
||||
if (el === Terminal.focus.element) return;
|
||||
@@ -531,7 +532,7 @@ Terminal.prototype.open = function(parent) {
|
||||
this.element.style.backgroundColor = Terminal.defaultColors.bg;
|
||||
this.element.style.color = Terminal.defaultColors.fg;
|
||||
|
||||
this.emit('open');
|
||||
// this.emit('open');
|
||||
};
|
||||
|
||||
// XTerm mouse events
|
||||
|
||||
Reference in New Issue
Block a user