diff options
author | 2020-05-16 14:46:14 +0000 | |
---|---|---|
committer | 2020-05-16 14:46:14 +0000 | |
commit | 9884925c5fcdf2b208590cc40b20a33eddc444e0 (patch) | |
tree | 834d38297c3a8486177e20e1199a351877701adb /usr.bin/tmux/tty-features.c | |
parent | Ensure that a TLSv1.3 server has provided a certificate. (diff) | |
download | wireguard-openbsd-9884925c5fcdf2b208590cc40b20a33eddc444e0.tar.xz wireguard-openbsd-9884925c5fcdf2b208590cc40b20a33eddc444e0.zip |
Instead of having a default set of terminals in terminal-overrides that
get XT added and using that as a marker for xterm(1)-like, assume that
if the terminfo(5) entry already has XT or the clear capability starts
with CSI then the terminal is VT100-like and it should be safe to send
DA requests. The DA responses trigger additional features being added.
Diffstat (limited to 'usr.bin/tmux/tty-features.c')
-rw-r--r-- | usr.bin/tmux/tty-features.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/tty-features.c b/usr.bin/tmux/tty-features.c index 9f4a9f46d40..ab4d640c03d 100644 --- a/usr.bin/tmux/tty-features.c +++ b/usr.bin/tmux/tty-features.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty-features.c,v 1.12 2020/05/16 14:39:40 nicm Exp $ */ +/* $OpenBSD: tty-features.c,v 1.13 2020/05/16 14:46:14 nicm Exp $ */ /* * Copyright (c) 2020 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -28,10 +28,9 @@ * - mouse (under kmous capability); * - default colours (under AX or op capabilities); * - AIX colours (under colors >= 16); - * - alternate escape (under XT). + * - alternate escape (if terminal is VT100-like). * * Also: - * - XT is used to decide whether to send DA and XDA; * - DECFRA uses a flag instead of capabilities; * - UTF-8 is a separate flag on the client; needed for unattached clients. */ |