Skip to content
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

Windows Terminal not Rendering ANSI Escapes Properly #43273

Closed
andrewraddatz opened this issue Nov 30, 2021 · 4 comments
Closed

Windows Terminal not Rendering ANSI Escapes Properly #43273

andrewraddatz opened this issue Nov 30, 2021 · 4 comments

Comments

@andrewraddatz
Copy link

When I launch julia inside of Windows Terminal, it does not render the escapes properly, which makes it very difficult to use as a REPL.

image

Launching julia with --color=no makes the output substantially tamer, but there are still issues on the initial line of output.

image

Julia has the same issue when launched directly while Legacy Console Mode is disabled (for both color and no-color modes):

image

But renders fine with Legacy Console Mode enabled:

image

@oscardssmith
Copy link
Member

imo, it's not our fault that windows terminal is broken.

@andrewraddatz
Copy link
Author

I'm not trying to play the blame game, but in the past I was able to launch julia in Windows Terminal, but now I can't use it.

Older versions of julia render properly in the current version of Windows Terminal:
image

I don't remember when exactly it broke, but I think it was in the 1.5.X series.

@zadjii-msft
Copy link

This might also be related to #40016?

@andrewraddatz
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants