=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.179 retrieving revision 1.180 diff -c -r1.179 -r1.180 *** src/usr.bin/tmux/tmux.h 2009/11/13 19:58:32 1.179 --- src/usr.bin/tmux/tmux.h 2009/11/18 13:16:33 1.180 *************** *** 1,4 **** ! /* $OpenBSD: tmux.h,v 1.179 2009/11/13 19:58:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tmux.h,v 1.180 2009/11/18 13:16:33 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1041,1046 **** --- 1041,1052 ---- u_char y; }; + /* Saved message entry. */ + struct message_entry { + char *msg; + time_t msg_time; + }; + /* Client connection. */ struct client { struct imsgbuf ibuf; *************** *** 1077,1082 **** --- 1083,1089 ---- char *message_string; struct event message_timer; + ARRAY_DECL(, struct message_entry) message_log; char *prompt_string; char *prompt_buffer; *************** *** 1481,1486 **** --- 1488,1494 ---- extern const struct cmd_entry cmd_set_window_option_entry; extern const struct cmd_entry cmd_show_buffer_entry; extern const struct cmd_entry cmd_show_environment_entry; + extern const struct cmd_entry cmd_show_messages_entry; extern const struct cmd_entry cmd_show_options_entry; extern const struct cmd_entry cmd_show_window_options_entry; extern const struct cmd_entry cmd_source_file_entry;