Skip to content

Cursor is incorrectly positioned on reflow of cursor line #5295

Open
@LarryWu1

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions