summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-05-22 15:08:38 +0000
committernicm <nicm@openbsd.org>2020-05-22 15:08:38 +0000
commit42a5eafb37b35f39de5fce4c3cb98f1ca7a9b86a (patch)
treee34452f1569bbf7f46473cfb1938e7458a7861f1 /usr.bin/tmux/tty.c
parentAdd some very simple trap handling. (diff)
downloadwireguard-openbsd-42a5eafb37b35f39de5fce4c3cb98f1ca7a9b86a.tar.xz
wireguard-openbsd-42a5eafb37b35f39de5fce4c3cb98f1ca7a9b86a.zip
xterm* can have focus too.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r--usr.bin/tmux/tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index f5fe6374c46..ed819eb6833 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.378 2020/05/16 16:44:54 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.379 2020/05/22 15:08:38 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -467,7 +467,7 @@ tty_update_features(struct tty *tty)
if (options_get_number(global_options, "extended-keys"))
tty_puts(tty, tty_term_string(tty->term, TTYC_ENEKS));
if (options_get_number(global_options, "focus-events"))
- tty_raw(tty, tty_term_string(tty->term, TTYC_ENFCS));
+ tty_puts(tty, tty_term_string(tty->term, TTYC_ENFCS));
if (tty->term->flags & TERM_VT100LIKE)
tty_puts(tty, "\033[?7727h");
}