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 movement and combining character output #3

Open
mintty opened this issue Mar 5, 2024 · 0 comments
Open

cursor movement and combining character output #3

mintty opened this issue Mar 5, 2024 · 0 comments

Comments

@mintty
Copy link

mintty commented Mar 5, 2024

In 6.1, it says:

When the cursor moves to a grid cell that contains a complete or incomplete grapheme cluster, this grid
cell’s contents will be erased and overwritten rather then textually concatinated.
Therefore cursor movement semantics of the terminal remain unchanged.

The first sentence would contradict the second; placing the cursor somewhere does not erase anything.
Only output of a non-combining character would implicitly erase the previous contents.
Ouput of a combining character, on the other hand, should add it to a grapheme cluster even after cursor placement,
not on the current cursor position however but rather on the previous one. Example:
Text "abc", cursor is placed on b, text is still "abc", output of a combining accent, text changes to "ábc" while cursor remains on b.

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