diff options
author | 2017-05-12 22:42:46 +0000 | |
---|---|---|
committer | 2017-05-12 22:42:46 +0000 | |
commit | 69bb272ce189afe136b41307b7e2835fa7cb98e7 (patch) | |
tree | 94ec5d107ee1af991a667927514a51fedf7f3a1f | |
parent | subtract one sector from the disk size before passing it back to the (diff) | |
download | wireguard-openbsd-69bb272ce189afe136b41307b7e2835fa7cb98e7.tar.xz wireguard-openbsd-69bb272ce189afe136b41307b7e2835fa7cb98e7.zip |
Reset updated flag when restarting job so new output is detected,
reported by Gregory Pakosz in GitHub issue 922.
-rw-r--r-- | usr.bin/tmux/format.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/format.c b/usr.bin/tmux/format.c index e69d04cd541..596abb6c6e3 100644 --- a/usr.bin/tmux/format.c +++ b/usr.bin/tmux/format.c @@ -1,4 +1,4 @@ -/* $OpenBSD: format.c,v 1.136 2017/05/12 13:27:57 nicm Exp $ */ +/* $OpenBSD: format.c,v 1.137 2017/05/12 22:42:46 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -298,6 +298,7 @@ format_job_get(struct format_tree *ft, const char *cmd) xasprintf(&fj->out, "<'%s' didn't start>", fj->cmd); } fj->last = t; + fj->updated = 0; } if (ft->flags & FORMAT_STATUS) |