-
Notifications
You must be signed in to change notification settings - Fork 1.6k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Overlapping data inside curses applications without any addOn #4130
Comments
Your issue looks like either a terminal size issue or TERM issue to me. Plz make sure to correctly update PTY size from resizes. Whats your TERM var? |
Below is my Terminal settings. I'm hitting this issue when the window size is MAX. var term = new Terminal({ Yes, this works perfectly in the standard terminal. |
So it works correctly w'o a terminal resize? Are you sure that you update the PTY size from terminal resizes? |
Even without resize of terminal it's not working correctly. What do you mean by updating the PTY size for terminal resize? |
The PTY maintains a terminal size itself. This gets used for canonical termios mode to do the line wrapping and size propagation to apps (SIGWINCH). Whenever a terminal emulator changes its [cols, rows]-size, the PTY size has to be updated, otherwise the line wrapping/cursor positioning will be wrong with nasty output bugs. |
Could please help me to update the PTY size? How to do that? What calls I need to make? |
Well I cannot tell you that, as it depends on your server side integration and how you get a working PTY from the system. |
@LIZIMEME If Again - this is nothing xterm.js has control of, you have to tell the OS PTY the correct size yourself within your backend binding. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I had previously reported an issue #3914 and my issue was duplicated with #3878. I see #3878 fix is merged to Version 5.0
Now, I have upgraded the xterm js libraries to Version 5.0 but I still see the same issue.
FYI... I'm not using add on webgl in my application.
Original Issue: #3914
The text was updated successfully, but these errors were encountered: