Terminal size reporting issue #10292

Open
opened 2026-01-31 02:17:31 +00:00 by claunia · 0 comments
Owner

Originally created by @Krmloo on GitHub (Aug 26, 2020).

Environment

Windows build number: Microsoft Windows [Version 10.0.19041.450]
Windows Terminal version (if applicable): 1.1.2233.0
Windows scale: 200%
Tmux version: 2.6
Byobu version: 5.125
Font: MesloLGM NF

Issue has appeared right after updating to 2004 and updating WSL to v2.

Steps to reproduce

  1. Launch terminal
  2. Launch WSL2 distro
  3. Observe broken size reporting and incorrect line length
    image
  4. Resize the window few pixels out
  5. Observe correct line length
    image

Expected behaviour

Correct size reporting.

Actual behaviour

Incorrect size reporting.

Originally created by @Krmloo on GitHub (Aug 26, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Environment ``` Windows build number: Microsoft Windows [Version 10.0.19041.450] Windows Terminal version (if applicable): 1.1.2233.0 Windows scale: 200% Tmux version: 2.6 Byobu version: 5.125 Font: MesloLGM NF Issue has appeared right after updating to 2004 and updating WSL to v2. ``` # Steps to reproduce 1. Launch terminal 2. Launch WSL2 distro 3. Observe broken size reporting and incorrect line length ![image](https://user-images.githubusercontent.com/20140826/91245653-a8000a00-e756-11ea-964d-855130accc16.png) 4. Resize the window few pixels out 5. Observe correct line length ![image](https://user-images.githubusercontent.com/20140826/91245672-b3533580-e756-11ea-8e53-997a93ea95cd.png) # Expected behaviour Correct size reporting. # Actual behaviour Incorrect size reporting.
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 02:17:31 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10292