diff options
Diffstat (limited to 'usr.bin/tmux/tty-acs.c')
-rw-r--r-- | usr.bin/tmux/tty-acs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty-acs.c b/usr.bin/tmux/tty-acs.c index 805b96b6d25..6cc369f0fe8 100644 --- a/usr.bin/tmux/tty-acs.c +++ b/usr.bin/tmux/tty-acs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty-acs.c,v 1.7 2019/05/17 05:48:25 nicm Exp $ */ +/* $OpenBSD: tty-acs.c,v 1.8 2020/04/16 14:25:35 nicm Exp $ */ /* * Copyright (c) 2010 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); } |