aboutsummaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-12-17 10:01:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-12-17 10:01:17 +0000
commitd523e7a676d6d2cdda0369fac3dc9f953d3a4e96 (patch)
tree83e918c6a0f53c7c05f9350be818bbc456666e14 /misc.h
parentbox-drawings: implement octants (diff)
term: set_app_id() + set_window_title(): only allow printable characters
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.h b/misc.h
index cce8d2c1..6c77c484 100644
--- a/misc.h
+++ b/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);