Resizing the window creates a HUGE text mess #18969

Open
opened 2026-01-31 06:29:58 +00:00 by claunia · 5 comments
Owner

Originally created by @PeterPedro on GitHub (Nov 28, 2022).

Windows Terminal version

1.15.2874.0

Windows build number

19044.2251

Other Software

No response

Steps to reproduce

Write any command, the larger the better but make it easy to check if something gets disordered. Resize the window, try to do it multiple times if the first time you don't notice it, snapping to the corners might make it more obvious.

Expected Behavior

The text gets "reflowed" or ordered correctly depending on the window size.

Actual Behavior

A HUGE mess is created, the text gets duplicated and scrambled, the more times you change the window size the worse it gets.

Originally created by @PeterPedro on GitHub (Nov 28, 2022). ### Windows Terminal version 1.15.2874.0 ### Windows build number 19044.2251 ### Other Software _No response_ ### Steps to reproduce Write any command, the larger the better but make it easy to check if something gets disordered. Resize the window, try to do it multiple times if the first time you don't notice it, snapping to the corners might make it more obvious. ### Expected Behavior The text gets "reflowed" or ordered correctly depending on the window size. ### Actual Behavior A HUGE mess is created, the text gets duplicated and scrambled, the more times you change the window size the worse it gets.
claunia added the Issue-BugProduct-TerminalArea-TerminalControl labels 2026-01-31 06:29:58 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Nov 28, 2022):

Could you share maybe a screenshot/? What shell are you using, and/or what program is doing the outputting? I bet this is #3088 just based on the description, but I can't be sure.

@zadjii-msft commented on GitHub (Nov 28, 2022): Could you share maybe a screenshot/? What shell are you using, and/or what program is doing the outputting? I bet this is #3088 just based on the description, but I can't be sure.
Author
Owner

@PeterPedro commented on GitHub (Nov 30, 2022):

I'm using the Windows Command Prompt shell but it also happens with Powershell and Ubuntu. It's not necessary to run anything, just type/paste some code or text.

I made a video, pasted your answer for an example. The behavior can be different sometimes because I don't have to scroll up always to see the issue, also sometimes the terminal crashes and I can't close it, only with the task manager.

https://user-images.githubusercontent.com/31941632/204720026-f92fa7d0-a5fc-4145-8dec-4272aecd7ae1.mp4

@PeterPedro commented on GitHub (Nov 30, 2022): I'm using the Windows Command Prompt shell but it also happens with Powershell and Ubuntu. It's not necessary to run anything, just type/paste some code or text. I made a video, pasted your answer for an example. The behavior can be different sometimes because I don't have to scroll up always to see the issue, also sometimes the terminal crashes and I can't close it, only with the task manager. https://user-images.githubusercontent.com/31941632/204720026-f92fa7d0-a5fc-4145-8dec-4272aecd7ae1.mp4
Author
Owner

@RoadToDream commented on GitHub (Mar 24, 2023):

This issue relates to multiple rendering issue and still no fix...

@RoadToDream commented on GitHub (Mar 24, 2023): This issue relates to multiple rendering issue and still no fix...
Author
Owner

@lhecker commented on GitHub (Apr 12, 2023):

I'm working on a rewrite of the text buffer reflow algorithm but won't get to it for 1.18.

@lhecker commented on GitHub (Apr 12, 2023): I'm working on a rewrite of the text buffer reflow algorithm but won't get to it for 1.18.
Author
Owner

@songyang-dev commented on GitHub (Dec 11, 2023):

I am experiencing a similar issue with WSL terminals. The windows terminals (command prompt and PowerShell) seem fine.

@songyang-dev commented on GitHub (Dec 11, 2023): I am experiencing a similar issue with WSL terminals. The windows terminals (command prompt and PowerShell) seem fine.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18969