diff options
author | nicm <nicm> | 2017-01-18 10:08:05 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-01-18 10:08:05 +0000 |
commit | faa05703091de29e5af06777513acd7a562433ba (patch) | |
tree | 7bea105a348664aa15078a726c914819d5059adb /tmux.h | |
parent | 4bb5a1d6a7d1cbf2aa3647afeab270f1afa5d4a7 (diff) | |
download | rtmux-faa05703091de29e5af06777513acd7a562433ba.tar.gz rtmux-faa05703091de29e5af06777513acd7a562433ba.tar.bz2 rtmux-faa05703091de29e5af06777513acd7a562433ba.zip |
Plain stravis() because it will mangle UTF-8 characters, so add
utf8_stravis() which calls our existing utf8_strvis() and use it instead
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2295,6 +2295,7 @@ enum utf8_state utf8_append(struct utf8_data *, u_char); enum utf8_state utf8_combine(const struct utf8_data *, wchar_t *); enum utf8_state utf8_split(wchar_t, struct utf8_data *); int utf8_strvis(char *, const char *, size_t, int); +int utf8_stravis(char **, const char *, int); char *utf8_sanitize(const char *); size_t utf8_strlen(const struct utf8_data *); u_int utf8_strwidth(const struct utf8_data *, ssize_t); |