UTF-8 keys now contain the internal representation and not the Unicode

codepoint, so convert extended keys properly. From Stanislav Kljuhhin.
This commit is contained in:
nicm
2024-07-12 11:21:18 +00:00
parent 093b5a5518
commit aa1353947e
3 changed files with 34 additions and 0 deletions

1
tmux.h
View File

@ -3267,6 +3267,7 @@ void session_renumber_windows(struct session *);
/* utf8.c */
enum utf8_state utf8_towc (const struct utf8_data *, wchar_t *);
enum utf8_state utf8_fromwc(wchar_t wc, struct utf8_data *);
int utf8_in_table(wchar_t, const wchar_t *, u_int);
utf8_char utf8_build_one(u_char);
enum utf8_state utf8_from_data(const struct utf8_data *, utf8_char *);