mirror of
https://github.com/ulyssa/iamb.git
synced 2026-04-03 08:19:08 -06:00
Line editing for chat messages breaks with the character "裔" #141
Labels
No labels
admin
bug
bug
bug
bug
bug
bug
bug
debugging
documentation
documentation
documentation
documentation
e2ee
e2ee
e2ee
e2ee
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
experimental
experimental
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
image
image
image
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
modalkit
perf
perf
perf
perf
ratatui
releases
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
ui
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github/iamb#141
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dstu on 2/22/2025
When entering a chat message (in INSERT mode), pasting a character like
裔(a 3-byte character in UTF-8: https://codepoints.net/U+88d4) causes the text insertion point to be drawn incorrectly. When appending text, it is drawn over characters instead of at the end of the line. I suspect that this is the result of computing an offset incorrectly.For correct behavior, see this image, which shows where the text insertion point is located after I type

asdf asdf:For incorrect behavior, see this image, which shows where the text insertion point is located after I type

asdf裔asdf:After typing this character and exiting from INSERT mode, it is no longer possible to position the insertion point at the end of the text that has been entered. Pressing
[END]and thena(to append text to the end of the line) allows text to be appended properly, but the text insertion point is located in a confusing position (which makes it look like text is going to be inserted between characters, when it is actually going to be appended).