kingToolbox / kingToolbox/WindTerm

[2.7.0 issue] on Linux: terminal doesn't adjust the window rows and columns when it starts

Open
#2,812 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

2.7.0 the terminal doesn't adjust the window rows and columns when it starts, as a result it never wraps,
no matter how many chars you typed, it appears on one line:

![Image](https://github.com/user-attachments/assets/0cc12cc9-cf46-43ed-b72c-c447c1c5c111)

I have checked the resize option:
![Image](https://github.com/user-attachments/assets/86566d9f-18a7-4a59-80b4-a1153b1a49c5)

the workaround is that click the maximum button of the windterm then click again, in order to trigger window resize.

2.6.1 works fine and don't have this issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the startup sizing problem on Linux with version 2.7.0, then compare the behavior with 2.6.1. Use the maximize-and-restore workaround to confirm that a later window resize triggers the missing adjustment. Done means the initial terminal rows and columns match the window size and text wraps normally without that workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.