diff options
author | 2020-04-16 14:25:35 +0000 | |
---|---|---|
committer | 2020-04-16 14:25:35 +0000 | |
commit | 9f8d5370c110b6c644f85df61d2b0b04913bf700 (patch) | |
tree | 59935ebbfe9fd927e1c0d77f21bf718a2fad0d00 /usr.bin/tmux/server-client.c | |
parent | Add a helper function to get the terminal flags. (diff) | |
download | wireguard-openbsd-9f8d5370c110b6c644f85df61d2b0b04913bf700.tar.xz wireguard-openbsd-9f8d5370c110b6c644f85df61d2b0b04913bf700.zip |
Move the UTF-8 flag to terminal flags.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r-- | usr.bin/tmux/server-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c index 1834965f9b8..2ae2a0d4e32 100644 --- a/usr.bin/tmux/server-client.c +++ b/usr.bin/tmux/server-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-client.c,v 1.318 2020/04/13 15:55:51 nicm Exp $ */ +/* $OpenBSD: server-client.c,v 1.319 2020/04/16 14:25:35 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); |