Support embedded styles in the display-message message, GitHub issue

2206.
This commit is contained in:
nicm
2020-05-16 15:54:20 +00:00
parent 6ea6d46d0a
commit 472d77fd0f
7 changed files with 18 additions and 10 deletions

View File

@ -117,7 +117,7 @@ cmd_display_message_exec(struct cmd *self, struct cmdq_item *item)
if (args_has(args, 'p'))
cmdq_print(item, "%s", msg);
else if (tc != NULL)
status_message_set(tc, "%s", msg);
status_message_set(tc, 0, "%s", msg);
free(msg);
format_free(ft);