diff options
author | nicm <nicm> | 2017-05-15 16:44:04 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-05-15 16:44:04 +0000 |
commit | 1ba7f1d03f680df20d45b5c2ca08ae39665e1dea (patch) | |
tree | f2845204d19836360ebe18619490119c30c33205 /tmux.h | |
parent | b160de5cb4cf901e0d01594308f8f4f54df9e2a9 (diff) | |
download | rtmux-1ba7f1d03f680df20d45b5c2ca08ae39665e1dea.tar.gz rtmux-1ba7f1d03f680df20d45b5c2ca08ae39665e1dea.tar.bz2 rtmux-1ba7f1d03f680df20d45b5c2ca08ae39665e1dea.zip |
Check the terminfo(5) U8 capability and disable using UTF-8 for ACS if
it is present and zero. This is useful for users with terminals or fonts
that do not correctly support UTF-8 line drawing characters. GitHub
issue 927, reported by Hiroaki Yamazoe and Akinori Hattori.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -401,6 +401,7 @@ enum tty_code_code { TTYC_SS, /* set cursor style, Ss */ TTYC_TC, /* 24-bit "true" colour, Tc */ TTYC_TSL, /* to_status_line, tsl */ + TTYC_U8, TTYC_VPA, /* row_address, cv */ TTYC_XENL, /* eat_newline_glitch, xn */ TTYC_XT, /* xterm(1)-compatible title, XT */ @@ -1701,6 +1702,7 @@ int tty_term_flag(struct tty_term *, enum tty_code_code); const char *tty_term_describe(struct tty_term *, enum tty_code_code); /* tty-acs.c */ +int tty_acs_needed(struct tty *); const char *tty_acs_get(struct tty *, u_char); /* tty-keys.c */ |