You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Powershell 7.4.5 pwsh on Windows 10.0.22631.0
Describe the issue:
When opening a new terminal in PowerShell I see this above. It seems the sequence \x1b[0m is an ANSI escape code used in terminal environments to reset the text formatting.
I am surprised to see it, while opening same terminal in VSCODE does not show it.
Is this something on my side ? Or does Positron use this specific command and somehow it is shown in terminal pane ?
I see it used several place across code - though I don't think this is working for powershell.
❯ Write-Host"\x1b[0m"
\x1b[0m
My understanding is that Powershell expect rather "`e[0m"
System details:
Positron and OS details:
Terminal details:
Using Powershell 7.4.5
pwsh
on Windows 10.0.22631.0Describe the issue:
When opening a new terminal in PowerShell I see this above. It seems the sequence
\x1b[0m
is an ANSI escape code used in terminal environments to reset the text formatting.I am surprised to see it, while opening same terminal in VSCODE does not show it.
Is this something on my side ? Or does Positron use this specific command and somehow it is shown in terminal pane ?
I see it used several place across code - though I don't think this is working for powershell.
My understanding is that Powershell expect rather
"`e[0m"
This is available from powershell 6 I think: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_special_characters?view=powershell-7.4#escape-e
For example
So maybe this ANSI code needs to be adapted in powershell context ?
Steps to reproduce the issue:
Expected or desired behavior:
Terminal does not show
\x1b[0m
characterWere there any error messages in the UI, Output panel, or Developer Tools console?
Not relevant (I think)
The text was updated successfully, but these errors were encountered: