From 6f27c1d05acd301d7ce344d3177773b969b1ae65 Mon Sep 17 00:00:00 2001 From: sabetts Date: Tue, 18 Sep 2001 07:19:46 +0000 Subject: * src/actions.h (cmd_info): new prototype (cmd_lastmsg): likewise * src/bar.h (show_last_message): new prototype * src/bar.c: new static globals last_msg, lash_mark_start, and last_mark_end. (marked_message): Store the message in last_msg. (show_last_message): new function * src/actions.c (cmd_info): new function (cmd_lastmsg): likewise (user_commands): new commands "info" and "lastmsg" (initialize_default_keybindings): Add key bindings for "info" and "lastmsg". --- src/bar.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bar.h') diff --git a/src/bar.h b/src/bar.h index 96733eb..d2b7dc6 100644 --- a/src/bar.h +++ b/src/bar.h @@ -31,5 +31,6 @@ int bar_x (screen_info *s, int width); #define message(msg) marked_message (msg, 0, 0) void marked_message (char *msg, int hl_start, int hl_end); void marked_message_printf (int mark_start, int mark_end, char *fmt, ...); +void show_last_message (); #endif /* ! _RATPOISON_BAR_H */ -- cgit v1.2.3