mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00

Related to #1802 CSIu format sends a unicode codepoint but we were just sending the first byte of the utf8 sequence, which is very much not right. This fixes that by parsing the utf-8. It isn't defined what to do if the utf-8 sequence is invalid or has multiple codepoints so we just skip CSIu encoding in that case.