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

@ -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);