diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-01-21 17:22:14 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-01-21 17:24:21 +0100 |
commit | b6ed277a9e0fbd17bfe02bbcff7d4d90a2952365 (patch) | |
tree | 60bc57ec3faeacda9c2a196ea09dff13341659ff /crawl-ref/source/message.h | |
parent | e7cb82bc02da41a55828594c24cba957207cc113 (diff) | |
download | crawl-ref-b6ed277a9e0fbd17bfe02bbcff7d4d90a2952365.tar.gz crawl-ref-b6ed277a9e0fbd17bfe02bbcff7d4d90a2952365.zip |
msgwin_prompt and msgwin_reply to allow generic saving of replies.
Rewrite msgwin_get_line to use these.
Diffstat (limited to 'crawl-ref/source/message.h')
-rw-r--r-- | crawl-ref/source/message.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/message.h b/crawl-ref/source/message.h index 84d7189b96..69a28f8a19 100644 --- a/crawl-ref/source/message.h +++ b/crawl-ref/source/message.h @@ -45,6 +45,9 @@ void mpr_comma_separated_list(const std::string prefix, class input_history; +void msgwin_prompt(std::string prompt); +void msgwin_reply(std::string reply); + int msgwin_get_line(std::string prompt, char *buf, int len, input_history *mh = NULL, |