summaryrefslogtreecommitdiffstats
path: root/tty-acs.c
diff options
context:
space:
mode:
authornicm <nicm>2020-04-16 14:25:35 +0000
committernicm <nicm>2020-04-16 14:25:35 +0000
commit5ec80bd249a37147207ec2ef420086336ccf78a8 (patch)
tree28707a55749d2d2c7cf7397c379c7376540cb8ea /tty-acs.c
parent4744aa43af47815a9c4c110cceb3959b1662e54b (diff)
Move the UTF-8 flag to terminal flags.
Diffstat (limited to 'tty-acs.c')
-rw-r--r--tty-acs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty-acs.c b/tty-acs.c
index 14634120..f5352d3e 100644
--- a/tty-acs.c
+++ b/tty-acs.c
@@ -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);
}