mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-31 12:07:59 +01:00
clean up
This commit is contained in:
@@ -284,11 +284,11 @@ export class XtermTerminal extends DisposableStore implements IXtermTerminal, ID
|
||||
if (!textArea) {
|
||||
return;
|
||||
}
|
||||
// Sync the textarea using shell integration so screen
|
||||
// readers can review the command with left/ right arrow keys
|
||||
// Sync the textarea using shell integration
|
||||
textArea.textContent = data.content;
|
||||
textArea.selectionStart = data.cursorX;
|
||||
textArea.selectionEnd = data.cursorX;
|
||||
// TODO: cursorY?
|
||||
}));
|
||||
|
||||
this._anyTerminalFocusContextKey = TerminalContextKeys.focusInAny.bindTo(contextKeyService);
|
||||
|
||||
@@ -51,7 +51,7 @@ class TestWebglAddon implements WebglAddon {
|
||||
}
|
||||
clearTextureAtlas() { }
|
||||
}
|
||||
// to
|
||||
|
||||
class TestXtermTerminal extends XtermTerminal {
|
||||
webglAddonPromise: Promise<typeof WebglAddon> = Promise.resolve(TestWebglAddon);
|
||||
// Force synchronous to avoid async when activating the addon
|
||||
|
||||
Reference in New Issue
Block a user