diff options
author | nicm <nicm> | 2020-04-16 14:25:35 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-16 14:25:35 +0000 |
commit | 5ec80bd249a37147207ec2ef420086336ccf78a8 (patch) | |
tree | 28707a55749d2d2c7cf7397c379c7376540cb8ea /format.c | |
parent | 4744aa43af47815a9c4c110cceb3959b1662e54b (diff) | |
download | rtmux-5ec80bd249a37147207ec2ef420086336ccf78a8.tar.gz rtmux-5ec80bd249a37147207ec2ef420086336ccf78a8.tar.bz2 rtmux-5ec80bd249a37147207ec2ef420086336ccf78a8.zip |
Move the UTF-8 flag to terminal flags.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2569,7 +2569,7 @@ format_defaults_client(struct format_tree *ft, struct client *c) format_add(ft, "client_prefix", "%d", 1); format_add(ft, "client_key_table", "%s", c->keytable->name); - if (tty->flags & TTY_UTF8) + if (tty_get_flags(tty) & TERM_UTF8) format_add(ft, "client_utf8", "%d", 1); else format_add(ft, "client_utf8", "%d", 0); |