Skip to content

Cursor / selection offset at end of line - rendered line longer than actual line #750

Description

@hksae

Summary

On clean launch (no settings changed) the rendered line looks longer than the real line content. Cursor and selection are offset at end of line.

Steps to Reproduce

  1. Open Athas 0.14.2 on Windows 11, 100% scale, default settings
  2. Open any file, type 123456789qwerty
  3. Click at the very end of the line
  4. Press Right Arrow, then select the line with mouse and copy/paste it

Expected Behavior

Click at end puts cursor after y. Selection covers whole visible line.

Actual Behavior

Cursor stops after t, with y rendered after cursor. Right Arrow cannot move further. Selection highlight stops short of visual end, but Copy/Paste gives full correct 123456789qwerty. So model is correct, rendering / hit-testing is offset.

Operating System

Windows
Details: Windows 11, 100% display scale, happens in any file

Version

0.14.2

Logs or Screenshots

Image Image

Activity

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

Metadata

Metadata

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