I'm working on a new feature for xterm.js that allows line reflow.
sourcelair/xterm.js#609
I've found that when vim wraps a line that is too long, it sends the last character of the line twice.
Here is an example of the string data sent at 26 cols:
�[m�[H�[2J�[1;1Hlorem ipsum dolor sit amet�[2;1H�[1m�[34m~ �[3;1H~
Then if I resize to 25 cols I get this:
�[m�[H�[2J�[1;1Hlorem ipsum dolor sit amee�[2;1Ht
�[1m�[34m~
As you can see the e in amet is duplicated and vim sends a line with a length of 26 characters, even though the terminal width is set to 25 cols.
If I reduce the size by 1 column again, I get this:
�[m�[H�[2J�[1;1Hlorem ipsum dolor sit amm�[2;1Het
�[1m�[34m~
This time the m is duplicated, as it's the last character on that row.
I've found that this is happening when the terminal is xterm-color and vt100.
I'm not sure why this is happening and I was hoping the the Vim community could shed some light on this issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
@brammool Thanks for the response!
What do you mean by "xterm.js should replicate the behavior" ? Perhaps I am being dense, but I don't understand what you mean 😄
—
Closed #1626.
@brammool Thanks for your help, I think this issue can be closed.
This issue is still present in xterm.js
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()