Skip to content

Typing in a split terminal can focus the terminal on the right #244272

@Tyriar

Description

@Tyriar

Not clear on repro yet.

Image

Cause is:

// Request global pwsh completions if there are none cached
if (PwshCompletionProviderAddon.cachedPwshCommands.size === 0) {
this._onDidRequestSendText.fire(RequestCompletionsSequence.Global);
}

Triggers this focus:

this.add(pwshCompletionProviderAddon.onDidRequestSendText(text => {
this._ctx.instance.focus();
this._ctx.instance.sendText(text, false);
}));

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insidersterminal-suggestverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions