aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-04-16 15:14:25 +0000
committernicm <nicm>2020-04-16 15:14:25 +0000
commit363d950ac0c0c24f446d9ebc3421d1c38395f872 (patch)
treee6711e0b60942f4381f465e0049c2b51966887c0 /tmux.h
parent5ec80bd249a37147207ec2ef420086336ccf78a8 (diff)
downloadrtmux-363d950ac0c0c24f446d9ebc3421d1c38395f872.tar.gz
rtmux-363d950ac0c0c24f446d9ebc3421d1c38395f872.tar.bz2
rtmux-363d950ac0c0c24f446d9ebc3421d1c38395f872.zip
Send secondary device attributes instead of primary which gives us a bit
more useful information on some terminals.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 58840108..69866153 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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 {