Overlapping data inside curses applications without any addOn #4317
Replies: 9 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? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
So it works correctly w'o a terminal resize? Are you sure that you update the PTY size from terminal resizes? |
Beta Was this translation helpful? Give feedback.
-
Even without resize of terminal it's not working correctly. What do you mean by updating the PTY size for terminal resize? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Could please help me to update the PTY size? How to do that? What calls I need to make? |
Beta Was this translation helpful? Give feedback.
-
Well I cannot tell you that, as it depends on your server side integration and how you get a working PTY from the system. |
Beta Was this translation helpful? Give feedback.
-
I'm having a similar problem. The output file directory names overlap. |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions