summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2017-05-13 08:16:11 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2017-05-13 08:16:11 +0100
commitae2c5ad76852d6d2e2463e45b13fc8c15b66e4b7 (patch)
tree3b72d0b5403d4f0f9d928cf7bcc978f7c9a6cefb
parent2bff5e7867b4849019df04d77ecade300c6e3dce (diff)
Reset updated flag when restarting job so new output is detected, reported by
Gregory Pakosz in GitHub issue 922.
-rw-r--r--CHANGES5
-rw-r--r--format.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index a3cf960a..4c84c923 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
CHANGES FROM 2.4 to 2.5 09 May 2017
+* Reset updated flag when restarting #() command so that new output is properly
+ recognised. GitHub issue 922.
+
* Fix ECH with a background colour.
* Do not rely on the terminal not moving the cursor after DL or EL.
@@ -12,7 +15,7 @@ CHANGES FROM 2.4 to 2.5 09 May 2017
* Add pane_mode format.
* Differentiate M-Up from Escape+Up when possible (that is, in terminals with
- xterm(1) style functions keys). GitHub issue 907.
+ xterm(1) style function keys). GitHub issue 907.
* Add session_stack and window_stack_index formats.
diff --git a/format.c b/format.c
index ddc5a7a5..35d8ee28 100644
--- a/format.c
+++ b/format.c
@@ -320,6 +320,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)