-
Notifications
You must be signed in to change notification settings - Fork 435
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 7: ANSI code to clear the rest of the line gives additional characters: ←[K
#37
Comments
←[K
←[K
←[K
←[K
What version of windows are you running? I tested on windows 10 (english) and using ANSI codes like this worked for me =( |
Windows 7 |
←[K
←[K
Thanks for reporting this! I'll see if I can get a windows 7 box to replicate this on somehow. |
Thanks. |
I don't know much about Windows, but it seems that ANSI escape sequences were not supported before Win 10: https://stackoverflow.com/questions/16755142/how-to-make-win32-console-recognize-ansi-vt100-escape-sequences |
I wonder whether there is a crate that does something like this correctly across platforms and operating system versions. |
I managed to reproduce this in a vagrant/virtualbox environment. This commit b32c494 seems to fix, will be in the next release. thanks for reporting this! |
Awesome, thank you. |
Do you have a plan when to release this? |
@kud1ing I just pushed 0.1.7 which should include this (windows wheels are generating on appveyor, should be pushed out in ~10 mins) |
Works perfectly, thanks. |
On a German Windows
cmd
the output looks like this:They seem to come from the macro
out!
:py-spy/src/console_viewer.rs
Line 128 in c2813e5
The text was updated successfully, but these errors were encountered: