Skip to content

Incorrect cursor position on full lines #15888

@zamadatix

Description

@zamadatix

Windows Terminal version

1.7.11461.0

Windows build number

10.0.22621.0

Other Software

No response

Steps to reproduce

Create a character string which is one character short of the full line width:

image

Add the final character and note the cursor appears one character left of where it should:

image

Expected Behavior

Cursor should appear at the end of the line when the line is full.

Actual Behavior

Cursor appears one character before the end of the line. Operationally the cursor functions according to the correct position ("delete" does nothing and "backspace" removes the "L"). This is an off-by-one error on just the display side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-ServerDown in the muck of API call servicing, interprocess communication, eventing, etc.Help WantedWe encourage anyone to jump in on these.In-PRThis issue has a related PRIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsPriority-2A description (P2)Product-ConptyFor console issues specifically related to conpty

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions