shadowsocks-rust
shadowsocks-rust copied to clipboard
Unreadable console output in ssLocal on Windows
Looks like ANSI escape/formatting codes doesn't work.
Running via batch file (ssLocal -c ssSettings.json) on Windows Server 2022.
Sure we can ignore this issue, but it's extremely inconvenient to read and understand something... I hope you can fix it.
You should switch to a proper modern terminal program like Windows Terminal. The legacy conhost should not be used for anything.
Server 2022 doesn't have Terminal (maybe 2025 have, I don't know), and iirc there's some other issues related to its installation (because "only Microsoft knows why Windows Terminal is only available on client OSes").
https://github.com/shadowsocks/shadowsocks-rust/blob/8416f6dab85b869e574432be9c3dd19be303e39f/src/logging/tracing.rs#L26-L31
You could disable it by setting NO_COLOR environment variable.