ui: Input: fix non-Latin letters

This commit is contained in:
2026-05-13 17:28:10 +03:00
parent b346e364c5
commit e764964a3c
30 changed files with 377 additions and 135 deletions
+6 -5
View File
@@ -10,18 +10,19 @@
typedef struct {
w_t w;
wchar_t w_value[INPUT_TEXT];
char value[INPUT_TEXT];
int64_t cur_pos; /* is relative to the end of a string */
int64_t value_len;
int64_t max_len;
int32_t cur_pos; /* is relative to the end of a string */
int32_t value_len;
int32_t max_len;
bool is_disabled;
bool is_hidden;
} w_input_t;
bool w_input_default_key_action(w_cb_args_t *args);
w_input_t *w_input_init(WINDOW **win, w_t *w_parent, char *label,
uint32_t size, uint32_t is_hidden_value);
int32_t w_input_draw(w_input_t *input, uint32_t active_id);
int32_t size, int32_t is_hidden_value);
int32_t w_input_draw(w_input_t *input, int32_t active_id);
void w_input_destroy(w_input_t *input);
#endif