Skip to content

Certain prompts do not display correctly in the console #6634

Closed
@csgillespie

Description

@csgillespie

System details:

Positron and OS details:

Positron Version: 2025.03.0 build 116
Code - OSS Version: 1.96.0
Commit: 7f0f938
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

Interpreter details:

R 4.4.0 (it's been a problem for a few versions, but I finally figured out what the issue was)

Describe the issue:

The prompt doesn't like "-" in the name (see images)

Steps to reproduce the issue:

# Sets the prompt as you would expect
prompt::set_prompt("update >")
prompt::set_prompt("update-thing >")
# Adds an additional line break - I think it's the "n" not being escaped?
prompt::set_prompt("update-news >")

Expected or desired behavior:

Image

Were there any error messages in the UI, Output panel, or Developer Tools console?

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions