summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-06-01 09:43:00 +0000
committernicm <nicm@openbsd.org>2020-06-01 09:43:00 +0000
commita34cf9c854af10b16e42da7f8b8e02d14cf4d44e (patch)
treefdfafcc3f79b8a18ea3700b43f7f2428263e0174 /usr.bin/tmux/input.c
parentRevert "Ignore new Rxblock ack agreements until the WPA handshake is done." (diff)
downloadwireguard-openbsd-a34cf9c854af10b16e42da7f8b8e02d14cf4d44e.tar.xz
wireguard-openbsd-a34cf9c854af10b16e42da7f8b8e02d14cf4d44e.zip
Instead of sending all data to control mode clients as fast as possible,
add a limit of how much data will be sent to the client and try to use it for panes with some degree of fairness. GitHub issue 2217, with George Nachman.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r--usr.bin/tmux/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index 7c9e544b7db..063c7187840 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.179 2020/05/21 07:24:13 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.180 2020/06/01 09:43:01 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -947,7 +947,7 @@ input_parse_pane(struct window_pane *wp)
new_data = window_pane_get_new_data(wp, &wp->offset, &new_size);
input_parse_buffer(wp, new_data, new_size);
- window_pane_update_used_data(wp, &wp->offset, new_size, 1);
+ window_pane_update_used_data(wp, &wp->offset, new_size);
}
/* Parse given input. */