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

@ -112,7 +112,7 @@ cmd_list_keys_print_notes(struct cmdq_item *item, struct args *args,
note = xstrdup(bd->note);
tmp = utf8_padcstr(key, keywidth + 1);
if (args_has(args, '1') && tc != NULL)
status_message_set(tc, "%s%s%s", prefix, tmp, note);
status_message_set(tc, 1, "%s%s%s", prefix, tmp, note);
else
cmdq_print(item, "%s%s%s", prefix, tmp, note);
free(tmp);