mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-14 04:24:52 +02:00
Handle non-BMP combining characters
Use a level of indirection to store combining characters. This allows combining characters to be stored using only two bytes, even if they are after USHORT_MAX
This commit is contained in:
@@ -6,6 +6,8 @@ bool is_ignored_char(char_type ch);
|
||||
bool is_word_char(char_type ch);
|
||||
bool is_CZ_category(char_type);
|
||||
bool is_P_category(char_type);
|
||||
char_type codepoint_for_mark(combining_type m);
|
||||
combining_type mark_for_codepoint(char_type c);
|
||||
|
||||
static inline bool
|
||||
is_url_char(uint32_t ch) {
|
||||
|
||||
Reference in New Issue
Block a user