No wraparound when inserting #4360
-
Wraparound is only honored when typing at the end of the line. The line is not wrapped if characters are inserted at any other place. FWIW, I had implemented a workaround for xterm 4.19, which relied on the private Details
Steps to reproduce
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
It's up to your shell to set wraparound mode and re-render the prompt |
Beta Was this translation helpful? Give feedback.
-
@javier-godoy xtermjs implements IRM and DECAWM following these DEC VT semantics:
Thus wrap-around does not apply in insert mode to moved chars, that are right of the current cursor position. Also xterm and gnome-terminal behave the same way (tested with Btw an interactive shell typically would handle this case correctly by fixing the screen with partial line reprints, therefore I wonder why this is an issue for you at all? |
Beta Was this translation helpful? Give feedback.
@javier-godoy xtermjs implements IRM and DECAWM following these DEC VT semantics:
Thus wrap-around does not apply in insert mode to moved chars, that are right of the current cursor position. Also xterm and gnome-terminal behave the same way (tested with
echo -en '\x1b[4h2345678\x1b[7D' && sleep 20
and insertin…