aboutsummaryrefslogtreecommitdiffstats
path: root/src/charset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charset.h')
-rw-r--r--src/charset.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/charset.h b/src/charset.h
index 119937710..24f7ef632 100644
--- a/src/charset.h
+++ b/src/charset.h
@@ -28,7 +28,8 @@ void charset_init(bool disable);
/**
* Returns the number of terminal cells occupied by this string.
*/
-size_t my_strlen(const char *str);
+unsigned
+utf8_width(const char *str);
char *utf8_to_locale(const char *str);
char *locale_to_utf8(const char *str);