-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
QEMU -noconsole prints ANSI escape codes #12649
Comments
Looks like QEMU isn't enabling
Nevermind. I thought this might be a defterm bug but you're on Windows 10 so it can't be that. I bet this is a regression in QEMU, we haven't changed this in years. |
is there a way to force QEMU to enable that flag? |
See, that's the interesting part. If you're running QEMU in the Windows Terminal, then Can you post a screenshot of the Terminal with the (broken) QEMU output? idly: I wonder if they ship like, mintty with QEMU to use that as their console window. There might be a reg key to force VT on by default, I forget off the top of my head, and I don't think it works in the Terminal (because again, the Terminal should enable that flag itself by default) |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
Is this it? |
Yep that's the one I was thinking of. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
It seems reproducible with the latest npm in conhost. |
I'm sure lots of programs set a hard-coded value. After all, it's not as if the console API ever changes. ;-) It would have been good to protect it with something like |
Could qemu be detected based on its hash or something? If so, maybe you could ignore its configuration. |
I found how to reproduce. cmd.exe on Windows Terminal,
note: msys uses /c/ProgramData path notation. |
Agreed, this looks like a /dupe of #6634, and it's something that the upstream application is going to need to handle better. |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Windows Terminal version
1.13.10395.0
Windows build number
10.0.19042.1526
Other Software
QEMU emulator version 6.2.0 (v6.2.0-11889-g5b72bf03f5-dirty)
Steps to reproduce
qemu-system-x86_64 -nographic
Expected Behavior
something similar to the output of this window:
Actual Behavior
ANSI codes don't seem to render properly, for example
←[0;1miPXE
which should beiPXE
in bold.The text was updated successfully, but these errors were encountered: