rerun icon indicating copy to clipboard operation
rerun copied to clipboard

Terminal output shows escape characters in windows powershell

Open jleibs opened this issue 2 years ago • 1 comments

Windows powershell default configuration doesn't know about the color escape sequences so we get log lines like:

←[2m2023-02-14T18:24:48.227979Z←[0m ←[32m INFO←[0m ←[2mrerun::run←[0m←[2m:←[0m Loading "C:\\Users\\jleibs\\venv\\Lib\\site-packages\\rerun_sdk\\rerun_demo\\demo.rrd"…

Workaround is to use windows Terminal program instead of Powershell.

jleibs avatar Feb 14 '23 13:02 jleibs

Oh wow. We need to upstream this problem to tracing_subscriber!

emilk avatar Feb 14 '23 13:02 emilk

I wonder if this is still a problem now that we've switched to env_logger

emilk avatar Apr 26 '23 13:04 emilk

Might depend on the terminal etc. but for me stuff renders fine on Windows these days! All nice and colorful

Wumpf avatar Nov 28 '23 16:11 Wumpf