Move the UTF-8 flag to terminal flags.

This commit is contained in:
nicm
2020-04-16 14:25:35 +00:00
parent 4744aa43af
commit 5ec80bd249
5 changed files with 6 additions and 5 deletions

View File

@ -2056,7 +2056,7 @@ server_client_dispatch_identify(struct client *c, struct imsg *imsg)
c->fd = -1;
} else {
if (c->flags & CLIENT_UTF8)
c->tty.flags |= TTY_UTF8;
c->tty.term_flags |= TERM_UTF8;
if (c->flags & CLIENT_256COLOURS)
c->tty.term_flags |= TERM_256COLOURS;
tty_resize(&c->tty);