[App edit] Wide characters get treated as two characters by the cursor and gets hidden
#31
Reference in New Issue
Block a user
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?
When moving the cursor while inside of a wide character, it will not move by the distance of a wide character, but instead of a regular character.
gpu.get()cannot return any character for this scenario, and setting anything inside of a wide character will hide the wide character beforehand.To fix this, the cursor must move by 2 in the X position when pressing right on a wide character, and move by -2 in the X position when pressing left and entering a wide character.
https://github.com/user-attachments/assets/fc8495ab-ec39-4584-a41f-ae32c4133f9a