summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-04-16 15:14:25 +0000
committernicm <nicm@openbsd.org>2020-04-16 15:14:25 +0000
commit25e90a40b474210a11f711498a4ceca61561fadb (patch)
tree7c566d0d1098419ad6706d6c1182f1c3b2e0fb1e /usr.bin/tmux/tmux.h
parentIt is unclear why data is memcpy-ed into a char buf[2] that is used as (diff)
downloadwireguard-openbsd-25e90a40b474210a11f711498a4ceca61561fadb.tar.xz
wireguard-openbsd-25e90a40b474210a11f711498a4ceca61561fadb.zip
Send secondary device attributes instead of primary which gives us a bit
more useful information on some terminals.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 66753c75794..5e2ba30b16b 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.998 2020/04/16 14:25:35 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.999 2020/04/16 15:14:25 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1261,6 +1261,7 @@ struct tty {
struct event key_timer;
struct tty_key *key_tree;
};
+#define tty_term_flags(tty) (tty->term->flags|tty->term_flags)
/* TTY command context. */
struct tty_ctx {