diff options
author | nicm <nicm> | 2017-05-09 13:04:36 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-05-09 13:04:36 +0000 |
commit | 3b35daacf734dc824b6101e54d62067fde6016b8 (patch) | |
tree | a2a689b2a562dd902d057b5e587fcc8e083b5663 /tmux.h | |
parent | 18f36906a9e40ebcf9705fa9deb197bc4a1f813a (diff) | |
download | rtmux-3b35daacf734dc824b6101e54d62067fde6016b8.tar.gz rtmux-3b35daacf734dc824b6101e54d62067fde6016b8.tar.bz2 rtmux-3b35daacf734dc824b6101e54d62067fde6016b8.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 'tmux.h')
-rw-r--r-- | tmux.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |