summaryrefslogtreecommitdiffstats
path: root/cmd-run-shell.c
diff options
context:
space:
mode:
authornicm <nicm>2021-04-12 09:36:12 +0000
committernicm <nicm>2021-04-12 09:36:12 +0000
commite6abe55134df1b9dc3b7dd7f3a65dff272a35bb7 (patch)
tree6c99cf6da3a6d22ecbb9b69dfc7696e5fb31c796 /cmd-run-shell.c
parentcd208c9d72df79a34024df6b8eb8f984613de8ef (diff)
Add a flag to disable keys to close a message, GitHub issue 2625.
Diffstat (limited to 'cmd-run-shell.c')
-rw-r--r--cmd-run-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-run-shell.c b/cmd-run-shell.c
index 73ed79f4..56d5f723 100644
--- a/cmd-run-shell.c
+++ b/cmd-run-shell.c
@@ -193,7 +193,7 @@ cmd_run_shell_timer(__unused int fd, __unused short events, void* arg)
if (status == CMD_PARSE_ERROR) {
if (cdata->item == NULL) {
*error = toupper((u_char)*error);
- status_message_set(c, -1, 1, "%s", error);
+ status_message_set(c, -1, 1, 0, "%s", error);
} else
cmdq_error(cdata->item, "%s", error);
free(error);