diff options
author | Chris Oelmueller <chris.oelmueller@gmail.com> | 2013-08-24 07:58:30 +0200 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-09-21 01:30:51 -0400 |
commit | c6de1386fa331d59c58b1d3054ffdaeab3268517 (patch) | |
tree | 615e5bca957b4a717be727c48308bdf6078240fe /crawl-ref/source/message.cc | |
parent | ec0fa00cfee16130cd57b80c48cf5ca3bcd2fcf1 (diff) | |
download | crawl-ref-c6de1386fa331d59c58b1d3054ffdaeab3268517.tar.gz crawl-ref-c6de1386fa331d59c58b1d3054ffdaeab3268517.zip |
Condense some duplicated menu code for formatted_scroller
Also re-align, and highlight input keys as in lots of other places.
Show this improved -more- line for viewing character notes, too.
The TODO was removed as well because the only effect of dynamically
changing displayed "help" information like this is player confusion.
Static information works better when it comes to legends.
Diffstat (limited to 'crawl-ref/source/message.cc')
-rw-r--r-- | crawl-ref/source/message.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc index f8bb7d7061..735611eda6 100644 --- a/crawl-ref/source/message.cc +++ b/crawl-ref/source/message.cc @@ -1631,9 +1631,7 @@ void load_messages(reader& inf) void replay_messages(void) { formatted_scroller hist(MF_START_AT_END | MF_ALWAYS_SHOW_MORE, ""); - hist.set_more(formatted_string::parse_string( - "<cyan>[up/<< : Page up. down/Space/> : Page down." - " Esc exits.]</cyan>")); + hist.set_more(); const store_t msgs = buffer.get_store(); for (int i = 0; i < msgs.size(); ++i) |