diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-06-01 09:43:02 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-06-01 09:43:02 +0000 |
commit | 9e33e9e6ff644fdd908fb72906c173eb4fdff131 (patch) | |
tree | d10b166e5252cb388cba4bd5edd90ab4a3dca9e1 /usr.bin/tmux/input.c | |
parent | 5cdd307bc12e232741c4797e9e7c3c184c9d50d5 (diff) |
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.c | 4 |
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. */ |