mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
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.
This commit is contained in:
@ -254,6 +254,7 @@ static const struct tty_term_code_entry tty_term_codes[] = {
|
||||
[TTYC_TC] = { TTYCODE_FLAG, "Tc" },
|
||||
[TTYC_TSL] = { TTYCODE_STRING, "tsl" },
|
||||
[TTYC_VPA] = { TTYCODE_STRING, "vpa" },
|
||||
[TTYC_U8] = { TTYCODE_NUMBER, "U8" },
|
||||
[TTYC_XENL] = { TTYCODE_FLAG, "xenl" },
|
||||
[TTYC_XT] = { TTYCODE_FLAG, "XT" },
|
||||
};
|
||||
|
Reference in New Issue
Block a user