No terminal resize notification for unix/linux programs #21839

Open
opened 2026-01-31 07:56:13 +00:00 by claunia · 0 comments
Owner

Originally created by @ant5 on GitHub (Jun 7, 2024).

Windows Terminal version

1.21.1272.0

Windows build number

10.0.19045.4291

Other Software

QEMU 9.0

Steps to reproduce

Run QEMU with unix-like guest OS which serial port connected to console (WindowsTerminal). Resize Terminal window.

Expected Behavior

As I understand WindowTerminal must emit control sequence to notify of width/height change.
Here is a screenshot of similiar system in another terminal that resize correctly:

image

Actual Behavior

Window is reisized but internal structure get corrupt. Notice the cursor moved outside it normal position. I think this is a result of adapation maked by WindowsTerminal itself.

image

But most unix terminal programs can handle terminal resize notification. It will be very nice to have it for seamless integration.

Originally created by @ant5 on GitHub (Jun 7, 2024). ### Windows Terminal version 1.21.1272.0 ### Windows build number 10.0.19045.4291 ### Other Software QEMU 9.0 ### Steps to reproduce Run QEMU with unix-like guest OS which serial port connected to console (WindowsTerminal). Resize Terminal window. ### Expected Behavior As I understand WindowTerminal must emit control sequence to notify of width/height change. Here is a screenshot of similiar system in another terminal that resize correctly: ![image](https://github.com/microsoft/terminal/assets/11061796/677953e7-fd56-4a72-9c3e-0b67631d5cdd) ### Actual Behavior Window is reisized but internal structure get corrupt. Notice the cursor moved outside it normal position. I think this is a result of adapation maked by WindowsTerminal itself. ![image](https://github.com/microsoft/terminal/assets/11061796/b97905f8-136e-460b-b1cd-9f87ae4f0beb) But most unix terminal programs can handle terminal resize notification. It will be very nice to have it for seamless integration.
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 07:56:13 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21839