-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xterm.onResize cannot receive correct data #5053
Comments
It doesn't feel like it's a addon-fit issue. |
When executing fit(), the size of the parent element? |
The parent elements are all saturated, with normal width and height, but the onResize value is incorrect. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After calling fitAddon. fit(), the cols and rows received by "xterm. onResize" were not accurate. When I modified the window size and triggered fitAddon. fit() again, it worked fine
QQ.20240509192949.mp4
Before modifying window size:
After modifying the window size
Details
The text was updated successfully, but these errors were encountered: