-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Resize & fit causing input display incorrectly #3962
Copy link
Copy link
Closed
Labels
Milestone
Description
I used xterm-addon-fit to resize the terminal while the window size changing.
The terminal can resize normally. However, if there are multiple lines input, the current input cannot dispplay correctly:
- If the window becomes larger, many spaces will be added to the tails input instead of filling with following lines.
- If the window shrinks, the current input will be truncated and could not be recovered.
In addition, historical input can be displayed correctly.
Details
- Browser and browser version: Google Chrome 103.0.5060.134(
- OS version: Windows 11 10.0.25163
- xterm.js version: 4.20 beta 26
Steps to reproduce
- Please refer to the code: https://codesandbox.io/s/xtermreact-demo-forked-o5n04u to reproduce it.
Reactions are currently unavailable


