summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2021-08-17 07:14:34 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2021-08-17 07:14:34 +0000
commit879a4fd53e8a0273dd356a81cdfcf09801e82b17 (patch)
tree91b9497e8173a7fc666c90de0416852dc5d5eeb5
parentccbe067ff54828250ab8918a48faa6755987246d (diff)
Start sync before drawing popup.
-rw-r--r--usr.bin/tmux/popup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/popup.c b/usr.bin/tmux/popup.c
index 4e06aa0fc0d..6275ebbd6e8 100644
--- a/usr.bin/tmux/popup.c
+++ b/usr.bin/tmux/popup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: popup.c,v 1.32 2021/08/13 23:05:40 nicm Exp $ */
+/* $OpenBSD: popup.c,v 1.33 2021/08/17 07:14:33 nicm Exp $ */
/*
* Copyright (c) 2020 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -554,6 +554,7 @@ popup_job_update_cb(struct job *job)
if (size == 0)
return;
+ tty_sync_start(&c->tty);
if (pd->md != NULL) {
c->overlay_check = menu_check_cb;
c->overlay_data = pd->md;