Skip to content

Fix cursor rectangle calculation for last line#547

Merged
nicoburns merged 1 commit intolinebender:mainfrom
Areopagitics:main
Feb 13, 2026
Merged

Fix cursor rectangle calculation for last line#547
nicoburns merged 1 commit intolinebender:mainfrom
Areopagitics:main

Conversation

@Areopagitics
Copy link
Contributor

this fixes #534 so that the cursor goes to the right position or an empty line when alignment is center or right

Copy link
Collaborator

@nicoburns nicoburns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me - thanks!

@nicoburns nicoburns added this pull request to the merge queue Feb 13, 2026
Merged via the queue into linebender:main with commit f4c9afa Feb 13, 2026
24 checks passed
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

Successfully merging this pull request may close these issues.

Position of cursor in empty lines doesn't respect the alignment

2 participants