summaryrefslogtreecommitdiff
path: root/src/bar.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-09-18 07:19:46 +0000
committersabetts <sabetts>2001-09-18 07:19:46 +0000
commit6f27c1d05acd301d7ce344d3177773b969b1ae65 (patch)
tree41dffa31721be37363fb57700c5b21fdbc592dd0 /src/bar.h
parent3417b6981960f0c8ca0a5bf18a75386a10fdc719 (diff)
downloadratpoison-6f27c1d05acd301d7ce344d3177773b969b1ae65.zip
* 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".
Diffstat (limited to 'src/bar.h')
-rw-r--r--src/bar.h1
1 files changed, 1 insertions, 0 deletions
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 */