summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-02-06 22:05:11 +0000
committernicm <nicm@openbsd.org>2017-02-06 22:05:11 +0000
commit0bb7045c38ff29ef1d6e3132b71bf2e6aeb19985 (patch)
treebd267beb936a59428480842fe1bd2466b9908e87 /usr.bin/tmux/input.c
parentAdd proper locking for the interrupt source list (diff)
downloadwireguard-openbsd-0bb7045c38ff29ef1d6e3132b71bf2e6aeb19985.tar.xz
wireguard-openbsd-0bb7045c38ff29ef1d6e3132b71bf2e6aeb19985.zip
Use DECFRA on VT420 compatible terminals (so, xterm) and ED on all
others for clearing panes.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r--usr.bin/tmux/input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index b6558af0bca..bd76888092b 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.111 2017/02/06 19:26:49 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.112 2017/02/06 22:05:11 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -87,6 +87,7 @@ struct input_ctx {
struct utf8_data utf8data;
int ch;
+
int flags;
#define INPUT_DISCARD 0x1