summaryrefslogtreecommitdiffstats
path: root/cmd.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-18 13:16:33 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-18 13:16:33 +0000
commit8db145da1ed40d471e9ecff0e788ced26a43fc92 (patch)
treefdb41dfba63f5cb24ad9607c1e28abb58179f27c /cmd.c
parent68f5c9c72da0c4430733de2094fbb8bc4d1e0474 (diff)
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 'cmd.c')
-rw-r--r--cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd.c b/cmd.c
index 9008a532..10e25225 100644
--- a/cmd.c
+++ b/cmd.c
@@ -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,