maximize inserts extra empty lines #21237

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

Originally created by @3052 on GitHub (Feb 12, 2024).

Windows Terminal version

terminal-1.19.10302.0

Windows build number

10.0.18363.0

Other Software

No response

Steps to reproduce

take this file:

https://github.com/microsoft/terminal/files/14251165/hello.txt

open terminal, and move it to half the screen with Windows+Left or Windows+Right. print file:

Get-Content hello.txt

notice because of the line width, the rows wrap around:

wrap

you might need to reduce window width further depending on monitor/font size. the above is expected, but I would assume that maximizing the window fixes the problem, it does not:

broken

Expected Behavior

No response

Actual Behavior

notice the random empty lines. note I also tested with:

terminal-1.20.10303.0

Originally created by @3052 on GitHub (Feb 12, 2024). ### Windows Terminal version terminal-1.19.10302.0 ### Windows build number 10.0.18363.0 ### Other Software _No response_ ### Steps to reproduce take this file: https://github.com/microsoft/terminal/files/14251165/hello.txt open terminal, and move it to half the screen with Windows+Left or Windows+Right. print file: ~~~ Get-Content hello.txt ~~~ notice because of the line width, the rows wrap around: > ![wrap](https://github.com/microsoft/terminal/assets/147215885/ef142ed1-a5f6-4e4c-b527-63f971557598) you might need to reduce window width further depending on monitor/font size. the above is expected, but I would assume that maximizing the window fixes the problem, it does not: > ![broken](https://github.com/microsoft/terminal/assets/147215885/4ae51f5c-324e-4878-a2f3-6f15cb0f4d7c) ### Expected Behavior _No response_ ### Actual Behavior notice the random empty lines. note I also tested with: terminal-1.20.10303.0
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21237