aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2015-11-12 11:10:50 +0000
committernicm <nicm>2015-11-12 11:10:50 +0000
commitc41673f3fae397e872214880bd005cce631cf11b (patch)
tree6f07266d52a6a1b21a213de354f14a59c13d420d /tmux.h
parent1b86f520ea1620628e569ea833c7b13306c18a4e (diff)
downloadrtmux-c41673f3fae397e872214880bd005cce631cf11b.tar.gz
rtmux-c41673f3fae397e872214880bd005cce631cf11b.tar.bz2
rtmux-c41673f3fae397e872214880bd005cce631cf11b.zip
If we know the terminal outside tmux is not UTF-8, replace UTF-8 in
error messages and whatnot with underscores the same as we do when we draw UTF-8 characters as part of the screen.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 618240b0..de19159d 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2189,6 +2189,7 @@ u_int utf8_combine(const struct utf8_data *);
int utf8_split(u_int, struct utf8_data *);
u_int utf8_split2(u_int, u_char *);
int utf8_strvis(char *, const char *, size_t, int);
+char *utf8_sanitize(const char *);
struct utf8_data *utf8_fromcstr(const char *);
char *utf8_tocstr(struct utf8_data *);
u_int utf8_cstrwidth(const char *);