diff --git a/src/constants.ts b/src/constants.ts index 752580f..dd09e5f 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -477,6 +477,7 @@ export const enum Schemes { GitLens = 'gitlens', Output = 'output', PRs = 'pr', + Terminal = 'vscode-terminal', Vsls = 'vsls', VslsScc = 'vsls-scc', Virtual = 'vscode-vfs', diff --git a/src/system/utils.ts b/src/system/utils.ts index d779cd8..ab33f6f 100644 --- a/src/system/utils.ts +++ b/src/system/utils.ts @@ -98,7 +98,7 @@ export function isVisibleDocument(document: TextDocument): boolean { export function isTextEditor(editor: TextEditor): boolean { const scheme = editor.document.uri.scheme; - return scheme !== Schemes.Output && scheme !== Schemes.DebugConsole; + return scheme !== Schemes.DebugConsole && scheme !== Schemes.Output && scheme !== Schemes.Terminal; } export async function openEditor(