mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 12:40:19 -05:00
pass first letter into terminal, don't await timeout
This commit is contained in:
1
.vscode/tasks.json
vendored
1
.vscode/tasks.json
vendored
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "watch-clientd",
|
||||
|
||||
@@ -505,7 +505,11 @@ export class AccessibleView extends Disposable {
|
||||
this._contextViewService.hideContextView();
|
||||
this._updateContextKeys(provider, false);
|
||||
// HACK: Delay to allow the context view to hide #186514
|
||||
setTimeout(() => provider.onClose(), 100);
|
||||
if (provider.id === AccessibleViewProviderId.Terminal) {
|
||||
provider.onClose();
|
||||
} else {
|
||||
setTimeout(() => provider.onClose(), 100);
|
||||
}
|
||||
};
|
||||
const disposableStore = new DisposableStore();
|
||||
disposableStore.add(this._editorWidget.onKeyDown((e) => {
|
||||
|
||||
Reference in New Issue
Block a user