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

This commit is contained in:
Nicholas Marriott
2020-05-11 09:18:00 +01:00
parent 8502517d30
commit c489bf0a1e
8 changed files with 19 additions and 11 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);