xterm.js
xterm.js copied to clipboard
Cursor is incorrectly positioned on reflow of cursor line
reflowCursorLine was added as part of https://github.com/xtermjs/xterm.js/pull/5234. When this option is enabled, the text on the cursor line reflows but the cursor is mispositioned. See the images below:
Initial position:
After text wrapping to new line:
After unwrapping text to previous line
Details
- Browser and browser version: Brave v1.73.105
- OS version: Windows 11 Home Version 10.0.22631 Build 22631
- xterm.js version: 5.6.0-beta.96
Steps to reproduce
- Initialize a terminal with
reflowCursorLineset totrue - Resize the terminal