Skip to content

Commit

Permalink
Merge pull request #106153 from microsoft/tyriar/link_disposal
Browse files Browse the repository at this point in the history
Ensure terminal links get disposed with new xterm.js api
  • Loading branch information
Tyriar committed Sep 6, 2020
2 parents 6c79798 + 5faa26d commit 67f3411
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -71,7 +71,7 @@
"vscode-ripgrep": "^1.8.0",
"vscode-sqlite3": "4.0.10",
"vscode-textmate": "5.2.0",
"xterm": "4.9.0-beta.8",
"xterm": "4.9.0-beta.24",
"xterm-addon-search": "0.7.0",
"xterm-addon-unicode11": "0.2.0",
"xterm-addon-webgl": "0.8.0",
Expand Down
2 changes: 1 addition & 1 deletion remote/package.json
Expand Up @@ -20,7 +20,7 @@
"vscode-proxy-agent": "^0.5.2",
"vscode-ripgrep": "^1.8.0",
"vscode-textmate": "5.2.0",
"xterm": "4.9.0-beta.8",
"xterm": "4.9.0-beta.24",
"xterm-addon-search": "0.7.0",
"xterm-addon-unicode11": "0.2.0",
"xterm-addon-webgl": "0.8.0",
Expand Down
2 changes: 1 addition & 1 deletion remote/web/package.json
Expand Up @@ -7,7 +7,7 @@
"semver-umd": "^5.5.7",
"vscode-oniguruma": "1.3.1",
"vscode-textmate": "5.2.0",
"xterm": "4.9.0-beta.8",
"xterm": "4.9.0-beta.24",
"xterm-addon-search": "0.7.0",
"xterm-addon-unicode11": "0.2.0",
"xterm-addon-webgl": "0.8.0"
Expand Down
8 changes: 4 additions & 4 deletions remote/web/yarn.lock
Expand Up @@ -42,7 +42,7 @@ xterm-addon-webgl@0.8.0:
resolved "https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.8.0.tgz#4bc6bb4dbfea5b0d2d7978d6c5cef922d584fb4f"
integrity sha512-dlpYPsv0C9S6v6+T/h/d/otSbdUTizMJdxvSoS34tUpMOHev6iW7Zqt5KRFqYxl4vCqpDk9Wmhb3fKL3kwX5fQ==

xterm@4.9.0-beta.8:
version "4.9.0-beta.8"
resolved "https://registry.yarnpkg.com/xterm/-/xterm-4.9.0-beta.8.tgz#ca121934d63f88668d2d5b11d9b2fc3bde7bd805"
integrity sha512-EEonYBLANDUBfEeEnHG632bZdgBaAUWst8LFr6oC6f2uLFfJGHQvVJuLaEkPtRvS+jOeoorEXZRPmso1/ANHXA==
xterm@4.9.0-beta.24:
version "4.9.0-beta.24"
resolved "https://registry.yarnpkg.com/xterm/-/xterm-4.9.0-beta.24.tgz#48f0990c6d32ad3a9bcc4fb49531d7effdaccea5"
integrity sha512-CIVxxxbBiSw1WOMkIjjivaiIC9jNgih4klfWsRGx0qiDF5nbzHuLXkPTt+yAQUu9FCyTUwECm9Pkl3gUsSaGKg==
8 changes: 4 additions & 4 deletions remote/yarn.lock
Expand Up @@ -445,10 +445,10 @@ xterm-addon-webgl@0.8.0:
resolved "https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.8.0.tgz#4bc6bb4dbfea5b0d2d7978d6c5cef922d584fb4f"
integrity sha512-dlpYPsv0C9S6v6+T/h/d/otSbdUTizMJdxvSoS34tUpMOHev6iW7Zqt5KRFqYxl4vCqpDk9Wmhb3fKL3kwX5fQ==

xterm@4.9.0-beta.8:
version "4.9.0-beta.8"
resolved "https://registry.yarnpkg.com/xterm/-/xterm-4.9.0-beta.8.tgz#ca121934d63f88668d2d5b11d9b2fc3bde7bd805"
integrity sha512-EEonYBLANDUBfEeEnHG632bZdgBaAUWst8LFr6oC6f2uLFfJGHQvVJuLaEkPtRvS+jOeoorEXZRPmso1/ANHXA==
xterm@4.9.0-beta.24:
version "4.9.0-beta.24"
resolved "https://registry.yarnpkg.com/xterm/-/xterm-4.9.0-beta.24.tgz#48f0990c6d32ad3a9bcc4fb49531d7effdaccea5"
integrity sha512-CIVxxxbBiSw1WOMkIjjivaiIC9jNgih4klfWsRGx0qiDF5nbzHuLXkPTt+yAQUu9FCyTUwECm9Pkl3gUsSaGKg==

yauzl@^2.9.2:
version "2.10.0"
Expand Down
Expand Up @@ -60,12 +60,12 @@ export class TerminalLink extends DisposableStore implements ILink {
// Listen for modifier before handing it off to the hover to handle so it gets disposed correctly
this._hoverListeners = new DisposableStore();
this._hoverListeners.add(dom.addDisposableListener(document, 'keydown', e => {
if (this._isModifierDown(e)) {
if (!e.repeat && this._isModifierDown(e)) {
this._enableDecorations();
}
}));
this._hoverListeners.add(dom.addDisposableListener(document, 'keyup', e => {
if (!this._isModifierDown(e)) {
if (!e.repeat && !this._isModifierDown(e)) {
this._disableDecorations();
}
}));
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -10050,10 +10050,10 @@ xterm-addon-webgl@0.8.0:
resolved "https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.8.0.tgz#4bc6bb4dbfea5b0d2d7978d6c5cef922d584fb4f"
integrity sha512-dlpYPsv0C9S6v6+T/h/d/otSbdUTizMJdxvSoS34tUpMOHev6iW7Zqt5KRFqYxl4vCqpDk9Wmhb3fKL3kwX5fQ==

xterm@4.9.0-beta.8:
version "4.9.0-beta.8"
resolved "https://registry.yarnpkg.com/xterm/-/xterm-4.9.0-beta.8.tgz#ca121934d63f88668d2d5b11d9b2fc3bde7bd805"
integrity sha512-EEonYBLANDUBfEeEnHG632bZdgBaAUWst8LFr6oC6f2uLFfJGHQvVJuLaEkPtRvS+jOeoorEXZRPmso1/ANHXA==
xterm@4.9.0-beta.24:
version "4.9.0-beta.24"
resolved "https://registry.yarnpkg.com/xterm/-/xterm-4.9.0-beta.24.tgz#48f0990c6d32ad3a9bcc4fb49531d7effdaccea5"
integrity sha512-CIVxxxbBiSw1WOMkIjjivaiIC9jNgih4klfWsRGx0qiDF5nbzHuLXkPTt+yAQUu9FCyTUwECm9Pkl3gUsSaGKg==

y18n@^3.2.1:
version "3.2.1"
Expand Down

0 comments on commit 67f3411

Please sign in to comment.