mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Handle focus clearing
This commit is contained in:
@@ -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];
|
||||
@@ -413,6 +415,7 @@
|
||||
if (this.sendFocus) {
|
||||
this.send('\x1b[O');
|
||||
}
|
||||
Terminal.focus = null;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user