mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
term: set_app_id() + set_window_title(): only allow printable characters
This commit is contained in:
parent
9a1b59adae
commit
d523e7a676
4 changed files with 19 additions and 6 deletions
2
misc.h
2
misc.h
|
|
@ -9,4 +9,4 @@ bool isword(char32_t wc, bool spaces_only, const char32_t *delimiters);
|
|||
void timespec_add(const struct timespec *a, const struct timespec *b, struct timespec *res);
|
||||
void timespec_sub(const struct timespec *a, const struct timespec *b, struct timespec *res);
|
||||
|
||||
bool is_valid_utf8(const char *value);
|
||||
bool is_valid_utf8_and_printable(const char *value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue