summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-04-16 16:13:57 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-04-16 16:13:57 +0000
commit779b9bf78acc99a84bf14ff9518cc51bf54a4d1d (patch)
tree1e00945a17acc539380e4e5566e9573baebc389b /usr.bin/tmux/tmux.h
parentb39aa7527bdf30a627a49c7cad64ffa4444c0f10 (diff)
Only start and stop sync for operations like clear and scroll where
there is a better chance more data will be on the way.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 5e2ba30b16b..0f3306a0315 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.999 2020/04/16 15:14:25 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.1000 2020/04/16 16:13:56 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -777,6 +777,7 @@ struct screen_write_collect_line;
struct screen_write_ctx {
struct window_pane *wp;
struct screen *s;
+ int sync;
struct screen_write_collect_item *item;
struct screen_write_collect_line *list;