Add unicode input support

This commit is contained in:
2025-12-13 00:23:59 +00:00
parent e6ce95a1d4
commit dad7d844ca
5 changed files with 198 additions and 99 deletions

View File

@@ -63,7 +63,8 @@ struct ScreenCell {
struct KeyEvent {
uint8_t key_type;
char c;
char *c;
uint32_t len;
uint8_t special_key;
uint8_t special_modifier;
@@ -89,7 +90,6 @@ void set_cursor(int row, int col, int show_cursor_param);
void render();
Coord get_size();
int read_input(char *buf, size_t buflen);
KeyEvent read_key();
#endif