Skip to content

Ctrl+Enter fails to send code inside sh/bash chunks to terminal #687

Open
@sharon-wang

Description

@sharon-wang

Bug description

Ctrl+Enter and Run Cell fail to send code inside sh chunks to terminal in both VS Code and Positron.

Copied over from @Robinlovelace's issue in Positron: posit-dev/positron#7047.

Appears to be a regression of: #4.

Steps to reproduce

Create a code chunk like this:

```{sh}
ls
```

Place your cursor on the ls bit.

Keyboard input Ctrl+Enter or click Run Cell in the IDE

Actual behavior

Nothing appears to happen. No code is sent to the Terminal.

Expected behavior

The code should be sent to the terminal and executed as shown below (entered manually):

Image

Your environment

Ubuntu + Positron

Positron Version: 2025.03.0 build 116
Code - OSS Version: 1.96.0
Commit: 7f0f93873e8b24c9f393bb3586724f4783c5e72c
Date: 2025-03-01T18:48:08.166Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Linux x64 6.8.0-52-generic

Mac 15.3.2 + Positron

Positron Version: 2025.04.0 (Universal) build 204
Code - OSS Version: 1.98.0
Commit: cfac68acb45f7646202711f64f46643f51c0ba2f
Date: 2025-03-27T03:36:09.040Z
Electron: 34.2.0
Chromium: 132.0.6834.196
Node.js: 20.18.2
V8: 13.2.152.36-electron.0
OS: Darwin arm64 24.3.0

Quarto Version: 1.119.0 (2025-03-27)

Mac 15.3.2 + VS Code

Version: 1.98.2
Commit: ddc367ed5c8936efe395cffeec279b04ffd7db78
Date: 2025-03-12T13:32:45.399Z
Electron: 34.2.0
ElectronBuildId: 11161602
Chromium: 132.0.6834.196
Node.js: 20.18.2
V8: 13.2.152.36-electron.0
OS: Darwin arm64 24.3.0

Quarto Version: 1.119.0 (2025-03-24)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions