Add a -d option to display-message to set delay, from theonekeyg at

gmail dot com in GitHub issue 2322.
This commit is contained in:
nicm
2020-07-27 08:03:10 +00:00
parent d329b035ce
commit 40e65c5115
9 changed files with 39 additions and 16 deletions

View File

@ -114,7 +114,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, 1, "%s%s%s", prefix, tmp, note);
status_message_set(tc, -1, 1, "%s%s%s", prefix, tmp, note);
else
cmdq_print(item, "%s%s%s", prefix, tmp, note);
free(tmp);