Cols property not getting set and text being overwritten after a certain width is occupied #4505
-
Screenshot of HTML Code: Video of the issue: terminal.App.mp4CSS:
XTERM VERSION : 5.1.0 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You also need to tell the PTY about your changed terminal size. |
Beta Was this translation helpful? Give feedback.
-
I did not get you. |
Beta Was this translation helpful? Give feedback.
-
From your screencast it looks like you forward real terminal data. This has to come from somewhere, and to have proper terminal semantics with xterm.js you have to go through a PTY on the host system (or conpty with windows). And the size of that PTY has to be in sync with xterm.js' size.
Not sure what to answer here, beside - then maybe fix that? xterm.js is literally made to run at a PTY, so you wont get far with zero knowledge about that (at least the PTY-master interface mechs, the termios stuff is not important as terminal integrator). Also see #4488, #4434 (comment), #4436 (comment) |
Beta Was this translation helpful? Give feedback.
From your screencast it looks like you forward real terminal data. This has to come from somewhere, and to have proper terminal semantics with xterm.js you have to go through a PTY on the host system (or conpty with windows). And the size of that PTY has to be in sync with xterm.js' size.
Not sure what to answer here, beside - then maybe fix that? xterm.js is literally made to run at a PTY, so you wont get far with zero knowledge about that (at least the PTY-master interface mechs, the termios stuff is not important as terminal integrator).
Also see #4488, #4434 (comment), #4436 (comment)