summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-07-24 21:16:17 +0000
committernicm <nicm@openbsd.org>2019-07-24 21:16:17 +0000
commit5a5ea52d07a3e4739696ae703a1ebc68386e514e (patch)
tree041e0db09581d470ac373707cace5fbc0b7d0e14
parentrib_dump_terminate() and rib_dump_abort() need to free any possibly (diff)
downloadwireguard-openbsd-5a5ea52d07a3e4739696ae703a1ebc68386e514e.tar.xz
wireguard-openbsd-5a5ea52d07a3e4739696ae703a1ebc68386e514e.zip
Mark pane status line jobs with FORMAT_STATUS also so it redraws when
they finish, GitHub issue 1852.
-rw-r--r--usr.bin/tmux/screen-redraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/screen-redraw.c b/usr.bin/tmux/screen-redraw.c
index 8325151d528..ad4820c7224 100644
--- a/usr.bin/tmux/screen-redraw.c
+++ b/usr.bin/tmux/screen-redraw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: screen-redraw.c,v 1.64 2019/06/26 13:03:47 nicm Exp $ */
+/* $OpenBSD: screen-redraw.c,v 1.65 2019/07/24 21:16:17 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -266,7 +266,7 @@ screen_redraw_make_pane_status(struct client *c, struct window *w,
fmt = options_get_string(w->options, "pane-border-format");
- ft = format_create(c, NULL, FORMAT_PANE|wp->id, 0);
+ ft = format_create(c, NULL, FORMAT_PANE|wp->id, FORMAT_STATUS);
format_defaults(ft, c, NULL, NULL, wp);
expanded = format_expand_time(ft, fmt);