Terminal doesn't resize buffer if historySize is set to 32740 or more #6721

Closed
opened 2026-01-31 00:45:37 +00:00 by claunia · 2 comments
Owner

Originally created by @Kaznov on GitHub (Mar 3, 2020).

Environment

Windows build number: [Version 10.0.18363.657]
Windows Terminal version: 0.9.433.0

Steps to reproduce

  • add "historySize": 32740 to profile setting
  • restart the terminal
  • try resizing the window

Expected behavior

Lines wrapping and unwrapping as I change window width, going up one by one if i change the height.

Actual behavior

When I change width buffer size stays the same, and part of the text is hidden, stays beyond window/plane frame. When I change height so that the cursor would be hidden, instead of moving up why by one it immediately goes to the top line.

I understand that this is because of the use of short ints (why are short ints used though? some really old dependency?). I even quite like it, looking at how messed up resizing is right now. So it's my little "workaround". Still, I'd expect a warning, or at least a bound value in json schema.

Originally created by @Kaznov on GitHub (Mar 3, 2020). # Environment ```none Windows build number: [Version 10.0.18363.657] Windows Terminal version: 0.9.433.0 ``` # Steps to reproduce - add "historySize": 32740 to profile setting - restart the terminal - try resizing the window # Expected behavior Lines wrapping and unwrapping as I change window width, going up one by one if i change the height. # Actual behavior When I change width buffer size stays the same, and part of the text is hidden, stays beyond window/plane frame. When I change height so that the cursor would be hidden, instead of moving up why by one it immediately goes to the top line. I understand that this is because of the use of short ints (why are short ints used though? some really old dependency?). I even quite like it, looking at how messed up resizing is right now. So it's my little "workaround". Still, I'd expect a warning, or at least a bound value in json schema.
claunia added the Resolution-Duplicate label 2026-01-31 00:45:37 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 3, 2020):

/dup #2815

@DHowett-MSFT commented on GitHub (Mar 3, 2020): /dup #2815
Author
Owner

@ghost commented on GitHub (Mar 3, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Mar 3, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6721