aboutsummaryrefslogtreecommitdiff
path: root/tty.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.c
parent4744aa43af47815a9c4c110cceb3959b1662e54b (diff)
downloadrtmux-5ec80bd249a37147207ec2ef420086336ccf78a8.tar.gz
rtmux-5ec80bd249a37147207ec2ef420086336ccf78a8.tar.bz2
rtmux-5ec80bd249a37147207ec2ef420086336ccf78a8.zip
Move the UTF-8 flag to terminal flags.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index a068c1a6..239d1cde 100644
--- a/tty.c
+++ b/tty.c
@@ -1255,7 +1255,7 @@ tty_check_codeset(struct tty *tty, const struct grid_cell *gc)
return (gc);
/* UTF-8 terminal and a UTF-8 character - fine. */
- if (tty->flags & TTY_UTF8)
+ if (tty_get_flags(tty) & TERM_UTF8)
return (gc);
/* Replace by the right number of underscores. */