shadowsocks-rust icon indicating copy to clipboard operation
shadowsocks-rust copied to clipboard

Unreadable console output in ssLocal on Windows

Open molor opened this issue 10 months ago • 3 comments
trafficstars

Looks like ANSI escape/formatting codes doesn't work.

image

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.

molor avatar Jan 08 '25 08:01 molor

You should switch to a proper modern terminal program like Windows Terminal. The legacy conhost should not be used for anything.

database64128 avatar Jan 08 '25 08:01 database64128

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").

molor avatar Jan 08 '25 09:01 molor

https://github.com/shadowsocks/shadowsocks-rust/blob/8416f6dab85b869e574432be9c3dd19be303e39f/src/logging/tracing.rs#L26-L31

You could disable it by setting NO_COLOR environment variable.

zonyitoo avatar Jan 08 '25 09:01 zonyitoo