posit-dev / posit-dev/positron
Console Restore: Continuation prompts not restored
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.04.0 (Universal) build 142
Code - OSS Version: 1.97.0
Commit: 2a33b2fe421adb799351960f6d05603594c11acc
Date: 2025-03-20T02:47:07.769Z
Electron: 32.2.7
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.3.0
Interpreter details:
Any
Describe the issue:
When the UI is reloaded, the console inputs are restored, but not the continuation prompts.
Steps to reproduce the issue:
Enter a multi-line statement in R or Python, like this.
Reload the window.
Expected or desired behavior:
The continuation prompts (i.e. the + preceding the additional lines after the first) should be restored.
This is not R specific and also happens with Python's ... continuation prompts.
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
Reproduce the issue by entering a multiline statement in R or Python and reloading the window. Trace the existing console-input restoration behavior and compare it with how continuation prompts are rendered or persisted. Done means the continuation prompts are restored for both R and Python multiline input after a UI reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, r, typescript
- Domain
- desktop, developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100