summaryrefslogtreecommitdiffstats
path: root/cmd-show-messages.c
diff options
context:
space:
mode:
authornicm <nicm>2017-04-20 09:20:22 +0000
committernicm <nicm>2017-04-20 09:20:22 +0000
commit0b44ad99b51606a8cab662e04cf043a8c4a3ca92 (patch)
tree06a3c095e0babd541df00c9cd80bac898724c984 /cmd-show-messages.c
parentf184c6f06c8bd63390ecec3fbe290b087f995ea7 (diff)
If a #() command doesn't exit, use its most recent line of output (it
must be a full line). Don't let it redraw the status line more than once a second. Requested by someone about 10 years ago...
Diffstat (limited to 'cmd-show-messages.c')
-rw-r--r--cmd-show-messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-show-messages.c b/cmd-show-messages.c
index e0b72b9a..559c36df 100644
--- a/cmd-show-messages.c
+++ b/cmd-show-messages.c
@@ -76,7 +76,7 @@ cmd_show_messages_jobs(struct cmdq_item *item, int blank)
u_int n;
n = 0;
- LIST_FOREACH(job, &all_jobs, lentry) {
+ LIST_FOREACH(job, &all_jobs, entry) {
if (blank) {
cmdq_print(item, "%s", "");
blank = 0;