QEMU -noconsole prints ANSI escape codes #16958

Open
opened 2026-01-31 05:28:26 +00:00 by claunia · 0 comments
Owner

Originally created by @rayzchen on GitHub (Mar 9, 2022).

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:

image

Actual Behavior

←c←[?7l←[2J←[0mSeaBIOS (version rel-1.15.0-0-g2dd4b9b3f840-prebuilt.qemu.org)


iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+07F915B0+07EF15B0 CA00



Booting from Hard Disk...
Boot failed: could not read the boot disk

Booting from Floppy...
Boot failed: could not read the boot disk

Booting from DVD/CD...
Boot failed: Could not read from CDROM (code 0003)
Booting from ROM...
iPXE (PCI 00:03.0) starting execution...ok
iPXE initialising devices...ok

ANSI codes don't seem to render properly, for example ←[0;1miPXE which should be iPXE in bold.

Originally created by @rayzchen on GitHub (Mar 9, 2022). ### 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: ![image](https://user-images.githubusercontent.com/54078384/157497181-769da504-21e1-4710-a5f0-1bb36b5d9947.png) ### Actual Behavior ``` ←c←[?7l←[2J←[0mSeaBIOS (version rel-1.15.0-0-g2dd4b9b3f840-prebuilt.qemu.org) iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+07F915B0+07EF15B0 CA00 Booting from Hard Disk... Boot failed: could not read the boot disk Booting from Floppy... Boot failed: could not read the boot disk Booting from DVD/CD... Boot failed: Could not read from CDROM (code 0003) Booting from ROM... iPXE (PCI 00:03.0) starting execution...ok iPXE initialising devices...ok ``` ANSI codes don't seem to render properly, for example `←[0;1miPXE` which should be `iPXE` in bold.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 05:28:26 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16958