-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ANSI Escape Sequence Handling Issue #11848
Comments
Here's the output with a few non-relevant applications removed from the list. |
You know what, I'm smarter than that. When julia is working correctly, are you launching it from a shortcut? Something like There are two places that a console app can have Presumably, using the run dialog (win+r) to launch Lines 194 to 201 in 284257a
We should be enabling virtual terminal processing for Terminal client apps, always. That implies that julia is actually _manually disabling it?! That's the only x-ref: JuliaLang/julia#43273 PR that added the SetConsoleMode call: JuliaLang/julia#36598 |
After the problem magically resolving itself when i moved my ~/.julia directory, I did some more digging. It looks like the issue is tied to a macro that I created to clear the screen which was called in a different macro in my startup script. replacing the macro with its content removes the ANSI character issue. |
Well, that's good to know. Thanks for following up! |
Windows Terminal version
1.12.211020001-release1.12
Windows build number
10.0.19041.0
Other Software
julia version 1.6 and above
Steps to reproduce
Launch julia inside of Windows Terminal
Expected Behavior
Launching julia outside of Windows Terminal with Legacy Console Mode enabled:
Windows Terminal should render the ANSI escapes as above.
Actual Behavior
When julia is launched in Windows Terminal, ANSI escapes are printed directly to the screen.
In Windows Terminal, launched from pwsh:
In Windows Terminal, launched from pwsh (julia --color=no):
In Windows Terminal, launched as a new tab:
In Windows Terminal, launched as a new tab (julia --color=no):
Launched directly, Legacy Console Mode disabled:
The text was updated successfully, but these errors were encountered: