diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-12-17 10:01:17 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-12-17 10:01:17 +0000 |
| commit | d523e7a676d6d2cdda0369fac3dc9f953d3a4e96 (patch) | |
| tree | 83e918c6a0f53c7c05f9350be818bbc456666e14 /misc.h | |
| parent | box-drawings: implement octants (diff) | |
term: set_app_id() + set_window_title(): only allow printable characters
Diffstat (limited to 'misc.h')
| -rw-r--r-- | misc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
