summaryrefslogtreecommitdiffstats
path: root/src/basic/utf8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/utf8.h')
-rw-r--r--src/basic/utf8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/utf8.h b/src/basic/utf8.h
index 301c50cc2f..de45fcba5b 100644
--- a/src/basic/utf8.h
+++ b/src/basic/utf8.h
@@ -59,4 +59,5 @@ static inline char32_t utf16_surrogate_pair_to_unichar(char16_t lead, char16_t t
}
size_t utf8_n_codepoints(const char *str);
+int utf8_char_console_width(const char *str);
size_t utf8_console_width(const char *str);