From 0b44ad99b51606a8cab662e04cf043a8c4a3ca92 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 20 Apr 2017 09:20:22 +0000 Subject: 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... --- cmd-show-messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-show-messages.c') 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; -- cgit v1.2.3