diff options
author | 2020-05-16 16:02:24 +0000 | |
---|---|---|
committer | 2020-05-16 16:02:24 +0000 | |
commit | 67c16a7c4d17d310924af977dee76cce5e60baf4 (patch) | |
tree | 5687d51b44d9a5502e6440cf31fcf9922f470f95 /usr.bin/tmux/cmd-show-messages.c | |
parent | Support embedded styles in the display-message message, GitHub issue (diff) | |
download | wireguard-openbsd-67c16a7c4d17d310924af977dee76cce5e60baf4.tar.xz wireguard-openbsd-67c16a7c4d17d310924af977dee76cce5e60baf4.zip |
Add a customize mode where keys and options may be browsed and changed,
includes adding a brief description of each option. Bound to "C" by
default.
Diffstat (limited to 'usr.bin/tmux/cmd-show-messages.c')
-rw-r--r-- | usr.bin/tmux/cmd-show-messages.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-show-messages.c b/usr.bin/tmux/cmd-show-messages.c index 9dbb39fa248..9d1c25659db 100644 --- a/usr.bin/tmux/cmd-show-messages.c +++ b/usr.bin/tmux/cmd-show-messages.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-show-messages.c,v 1.33 2020/05/16 15:47:22 nicm Exp $ */ +/* $OpenBSD: cmd-show-messages.c,v 1.34 2020/05/16 16:02:24 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -18,6 +18,7 @@ #include <sys/types.h> +#include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> @@ -29,6 +30,9 @@ * Show client message log. */ +#define SHOW_MESSAGES_TEMPLATE \ + "#{t/p:message_time}: #{message_text}" + static enum cmd_retval cmd_show_messages_exec(struct cmd *, struct cmdq_item *); |