aboutsummaryrefslogtreecommitdiff
path: root/tty-acs.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-04-16 16:01:35 +0100
committerThomas Adam <thomas@xteddy.org>2020-04-16 16:01:35 +0100
commit5e38d262579662f33570c520b6661e15c215f702 (patch)
tree99b52461946c4a128d6a475f81ae0d4a8ce022c7 /tty-acs.c
parentb3cadf826034ec356d0bf3dda26b7699bff4649c (diff)
parent5ec80bd249a37147207ec2ef420086336ccf78a8 (diff)
downloadrtmux-5e38d262579662f33570c520b6661e15c215f702.tar.gz
rtmux-5e38d262579662f33570c520b6661e15c215f702.tar.bz2
rtmux-5e38d262579662f33570c520b6661e15c215f702.zip
Merge branch 'obsd-master'
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);
}