posit-dev / posit-dev/positron

Console Restore: Continuation prompts not restored

Open
#6,895 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: console
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.

Image

Reload the window.

Image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.