diff options
author | 2020-07-27 08:03:10 +0000 | |
---|---|---|
committer | 2020-07-27 08:03:10 +0000 | |
commit | 247fdabff8519f7d585994f6c13c3381b7ef3241 (patch) | |
tree | a00cdd8389647e771bd50951762373377326b2ca /usr.bin/tmux/cmd-list-keys.c | |
parent | trim trailing whitespace in if_iwn.c (diff) | |
download | wireguard-openbsd-247fdabff8519f7d585994f6c13c3381b7ef3241.tar.xz wireguard-openbsd-247fdabff8519f7d585994f6c13c3381b7ef3241.zip |
Add a -d option to display-message to set delay, from theonekeyg at
gmail dot com in GitHub issue 2322.
Diffstat (limited to 'usr.bin/tmux/cmd-list-keys.c')
-rw-r--r-- | usr.bin/tmux/cmd-list-keys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-list-keys.c b/usr.bin/tmux/cmd-list-keys.c index 410a1a45cea..d75b76c51fb 100644 --- a/usr.bin/tmux/cmd-list-keys.c +++ b/usr.bin/tmux/cmd-list-keys.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-list-keys.c,v 1.60 2020/07/06 07:27:39 nicm Exp $ */ +/* $OpenBSD: cmd-list-keys.c,v 1.61 2020/07/27 08:03:10 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); |