posit-dev / posit-dev/positron
Positron Web: `POSITRON_MODE` env var showing `desktop` in Terminal
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 195
Description
System details:
Positron and OS details:
Positron Server Web dev build from main branch or any of the latest REH-Web release builds.
Interpreter details:
N/A
Describe the issue:
On Web, POSITRON_MODE shows server as expected in the R Console and Python Console, but in the Terminal it shows desktop.
No issues on Desktop: POSITRON_MODE shows desktop as expected in the Terminal, R Console and Python Console.
Steps to reproduce the issue:
echo $POSITRON_MODEin a Terminal in Positron Web- See the output
desktop, but it should beserver
Expected or desired behavior:
echo $POSITRON_MODE in a Terminal in Positron Web should return server
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
Reproduce the issue in a Positron Web Terminal with echo $POSITRON_MODE, then compare how the value is provided there with the R and Python Consoles. Done means the Web Terminal reports server, while Desktop continues to report desktop.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100