summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-11-18 13:16:33 +0000
committernicm <nicm@openbsd.org>2009-11-18 13:16:33 +0000
commitdca899ea8fbdacd4bc69967850ea2038e43b795f (patch)
treeca4f55f872b96a1e1ec71af4cc3779d3239bfe4f /usr.bin/tmux/cmd.c
parentMark -n keys with (no prefix) rather than []. (diff)
downloadwireguard-openbsd-dca899ea8fbdacd4bc69967850ea2038e43b795f.tar.xz
wireguard-openbsd-dca899ea8fbdacd4bc69967850ea2038e43b795f.zip
Add a per-client log of status line messages displayed while that client
exists. A new message-limit session option sets the maximum number of entries and a command, show-messages, shows the log (bound to ~ by default). This (and prompt history) might be better as a single global log but until there are global options it is easier for them to be per client.
Diffstat (limited to 'usr.bin/tmux/cmd.c')
-rw-r--r--usr.bin/tmux/cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd.c b/usr.bin/tmux/cmd.c
index 828dbda6bbd..c121d173614 100644
--- a/usr.bin/tmux/cmd.c
+++ b/usr.bin/tmux/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.31 2009/11/03 22:40:40 nicm Exp $ */
+/* $OpenBSD: cmd.c,v 1.32 2009/11/18 13:16:33 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -95,6 +95,7 @@ const struct cmd_entry *cmd_table[] = {
&cmd_set_window_option_entry,
&cmd_show_buffer_entry,
&cmd_show_environment_entry,
+ &cmd_show_messages_entry,
&cmd_show_options_entry,
&cmd_show_window_options_entry,
&cmd_source_file_entry,