Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor is incorrectly positioned on reflow of cursor line #5295

Open
LarryWu1 opened this issue Jan 12, 2025 · 0 comments
Open

Cursor is incorrectly positioned on reflow of cursor line #5295

LarryWu1 opened this issue Jan 12, 2025 · 0 comments

Comments

@LarryWu1
Copy link

LarryWu1 commented Jan 12, 2025

reflowCursorLine was added as part of #5234. When this option is enabled, the text on the cursor line reflows but the cursor is mispositioned. See the images below:

Initial position:
before

After text wrapping to new line:
text wrap

After unwrapping text to previous line
text unwrap

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

  1. Initialize a terminal with reflowCursorLine set to true
  2. Resize the terminal
@LarryWu1 LarryWu1 changed the title Cursor is incorrectly positioned on reflow when reflowCursorLine is enabled Cursor is incorrectly positioned on reflow of cursor line Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant