Details
- Browser and browser version:
- OS version:
- xterm.js version:
Steps to reproduce
- press enter several times until scrollbar appear
- run
echo -e "\x1b[44m\x1b[86X\x1b[87C1\x1b[m\r\n\r\n"
- check the
Write back to terminal option of SerializeAddon
- click Serialize the content of terminal
- Notice the background of next line is tainted
Note
It seems this can't be solved without insert \x1b[m at line end when the last cell has background.
But do this will break all current tests?
Or you need to do a costly look ahead to next line to check whether a reset is required or not.