feat: utf8 support & partial ui.c refactor

This commit is contained in:
2025-06-20 21:31:03 +02:00
parent d5688f5c5c
commit 787b412005
17 changed files with 366 additions and 264 deletions

View File

@@ -13,6 +13,12 @@ int find_keyname(enum keys* at, char* name);
enum keys find_ansi(char*);
void read_press(u_char*, char*);
bool utf8_iscont(char byte);
size_t utf8len(char* str);
size_t utf8len_until(char* str, char* until);
char* utf8back(char* str);
char* utf8seek(char* str);
struct Vector {
uint32_t length;
uint32_t capacity;