Skip to content

Commit 99c843e

Browse files
Hide output from visible text editors
1 parent dfaff22 commit 99c843e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/cursorless-vscode/src/ide/vscode/VscodeIDE.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ export class VscodeIDE implements IDE {
116116
}
117117

118118
get visibleTextEditors(): VscodeTextEditorImpl[] {
119-
return window.visibleTextEditors.map((e) => this.fromVscodeEditor(e));
119+
return window.visibleTextEditors
120+
.filter((e) => e.document.uri.scheme !== "output")
121+
.map((e) => this.fromVscodeEditor(e));
120122
}
121123

122124
get visibleNotebookEditors(): NotebookEditor[] {

0 commit comments

Comments
 (0)