Open sharon-wang opened 1 day ago
Positron Server Web dev build from main branch or any of the latest REH-Web release builds.
main
N/A
On Web, POSITRON_MODE shows server as expected in the R Console and Python Console, but in the Terminal it shows desktop.
POSITRON_MODE
server
desktop
No issues on Desktop: POSITRON_MODE shows desktop as expected in the Terminal, R Console and Python Console.
echo $POSITRON_MODE
echo $POSITRON_MODE in a Terminal in Positron Web should return server
No
Here is where we intend to set that env var:
https://github.com/posit-dev/positron/blob/675b180e2ec25781121c268a6bff162ac9e27857/src/vs/platform/terminal/node/terminalEnvironment.ts#L151
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
showsserver
as expected in the R Console and Python Console, but in the Terminal it showsdesktop
.No issues on Desktop:
POSITRON_MODE
showsdesktop
as expected in the Terminal, R Console and Python Console.Steps to reproduce the issue:
echo $POSITRON_MODE
in a Terminal in Positron Webdesktop
, but it should beserver
Expected or desired behavior:
echo $POSITRON_MODE
in a Terminal in Positron Web should returnserver
Were there any error messages in the UI, Output panel, or Developer Tools console?
No