summaryrefslogtreecommitdiffstats
path: root/cmd-queue.c
diff options
context:
space:
mode:
authornicm <nicm>2020-07-27 08:03:10 +0000
committernicm <nicm>2020-07-27 08:03:10 +0000
commit40e65c511502fe47932e230290537e7391ab8a83 (patch)
tree0ccd24065994a052d1ecc377a311b6c7dcfafb83 /cmd-queue.c
parentd329b035cee47d968a8c93b5cbd8fde879ce6f0d (diff)
Add a -d option to display-message to set delay, from theonekeyg at
gmail dot com in GitHub issue 2322.
Diffstat (limited to 'cmd-queue.c')
-rw-r--r--cmd-queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-queue.c b/cmd-queue.c
index 693f7d90..36f1c9be 100644
--- a/cmd-queue.c
+++ b/cmd-queue.c
@@ -858,7 +858,7 @@ cmdq_error(struct cmdq_item *item, const char *fmt, ...)
c->retval = 1;
} else {
*msg = toupper((u_char) *msg);
- status_message_set(c, 1, "%s", msg);
+ status_message_set(c, -1, 1, "%s", msg);
}
free(msg);