From acc331c787f4d85c0909563139f7cc81c54edc55 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Thu, 19 Nov 2009 22:20:04 +0000 Subject: Sync OpenBSD patchset 546: 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. --- cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd.c') diff --git a/cmd.c b/cmd.c index 0e5ea058..dbae84dd 100644 --- a/cmd.c +++ b/cmd.c @@ -1,4 +1,4 @@ -/* $Id: cmd.c,v 1.130 2009-11-04 22:46:25 tcunha Exp $ */ +/* $Id: cmd.c,v 1.131 2009-11-19 22:20:04 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -94,6 +94,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, -- cgit