posit-dev / posit-dev/positron
Cannot scroll within multiline statements in R Console
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 206
Description
System details:
Positron and OS details:
Positron Version: 2025.08.0 (system setup) build 108
Code - OSS Version: 1.102.0
Commit: 2ae1981311adc4d035e117cf2d1cdf164b5b8ae8
Date: 2025-07-30T04:07:37.599Z
Electron: 35.6.0
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Windows_NT x64 10.0.26100
Session details:
New R session (R 4.5.1)
Describe the issue:
When entering a multiline statement in the console (e.g., using { or a function definition), I cannot scroll through the input if it spans multiple lines. This makes it difficult to review or edit long inputs directly in the console. It also means you cannot scroll up to view earlier statements in your history. Scrolling with (or on) the scrollbar does work as expected.
https://github.com/user-attachments/assets/1603867b-1e82-4404-913d-24d4d42528dd
Steps to reproduce the issue:
- Start a new R session Positron and open the console.
- Type a multiline command, such as:
> data.frame(
+
+
+
+
+
+
+
+
)
- Try scrolling up or down within the statement before completing the command.
Expected or desired behavior:
I expect to be able to scroll through the in-progress input or go to earlier commands so I can read or edit earlier lines of the statement.
Were there any error messages in the UI, Output panel, or Developer Tools console?
No
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in a new R session using the multiline data.frame example, then inspect the R Console input and history scrolling entry points. Confirm whether scrolling fails only for in-progress multiline input or also for earlier history. Done means the relevant console content can be reviewed and edited by scrolling before the statement is completed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100