diff options
author | 2017-05-09 13:04:36 +0000 | |
---|---|---|
committer | 2017-05-09 13:04:36 +0000 | |
commit | 85789290275a8ea46af594755e2b34e92ea37696 (patch) | |
tree | aafae6abf265946d10c65503ac4e7191c8b821ac /usr.bin/tmux/tmux.h | |
parent | Document that patches are cumulative and as such it is not possible to install (diff) | |
download | wireguard-openbsd-85789290275a8ea46af594755e2b34e92ea37696.tar.xz wireguard-openbsd-85789290275a8ea46af594755e2b34e92ea37696.zip |
If the current screen was complex enough, it was possible to make redraw
itself hit the "terminal can't keep up" check. To avoid this, record how
much data we send during redraw (we know we will be starting with 0) and
skip the check until it has been flushed. GitHub issue 912.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 55eb9935177..24607681778 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.760 2017/05/07 22:27:57 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.761 2017/05/09 13:04:36 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1306,6 +1306,7 @@ struct client { size_t written; size_t discarded; + size_t redraw; void (*stdin_callback)(struct client *, int, void *); void *stdin_callback_data; |