Move the UTF-8 flag to terminal flags.

This commit is contained in:
nicm
2020-04-16 14:25:35 +00:00
parent 4744aa43af
commit 5ec80bd249
5 changed files with 6 additions and 5 deletions

View File

@ -99,7 +99,7 @@ tty_acs_needed(struct tty *tty)
tty_term_number(tty->term, TTYC_U8) == 0)
return (1);
if (tty->flags & TTY_UTF8)
if (tty_get_flags(tty) & TERM_UTF8)
return (0);
return (1);
}