Reset updated flag when restarting job so new output is detected, reported by

Gregory Pakosz in GitHub issue 922.
pull/581/merge
Nicholas Marriott 2017-05-13 08:16:11 +01:00
parent 2bff5e7867
commit ae2c5ad768
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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)