Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Fixed Copilot completions in `.qmd` documents (<https://github.com/quarto-dev/quarto/pull/887>).
- Fixed a bug where the `autoDetectColorScheme` setting could cause equation previews to have a dark text on dark background and vice versa (<https://github.com/quarto-dev/quarto/pull/864>).
- Fix a regression where bash cell execution does not work (<https://github.com/quarto-dev/quarto/pull/826>).

## 1.128.0 (Release on 2026-01-08)

Expand Down
8 changes: 6 additions & 2 deletions apps/vscode/src/host/executors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,11 @@ const csharpCellExecutor: VSCodeCellExecutor = {
const bashCellExecutor: VSCodeCellExecutor = {
language: "bash",
execute: async (blocks: string[]) => {
const terminal = window.activeTerminal || window.createTerminal();
// todo: this should probably check that the terminal isn't an interactive terminal for languages
// other than R as well...
const terminal = window.activeTerminal && window.activeTerminal?.name !== 'R Interactive' ?
window.activeTerminal : window.createTerminal();

terminal.show();
terminal.sendText(blocks.join("\n"));
},
Expand Down Expand Up @@ -283,7 +287,7 @@ export async function ensureRequiredExtension(
}
}
} else {
return false;
return true;
}
}

Expand Down