mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user