Skip to content

Commit

Permalink
Match message log filter info and construction filter (#38764)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pupsi-Mupsi authored Mar 15, 2020
1 parent 3b77827 commit 7797a34
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/messages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,11 +750,15 @@ void Messages::dialog::run()
std::vector<std::string> Messages::dialog::filter_help_text( int width )
{
const auto &help_fmt = _(
"Format is [[TYPE]:]TEXT. The values for TYPE are: %s\n"
"Examples:\n"
" good:mutation\n"
" :you pick up: 1\n"
" crash!\n"
"<color_light_gray>The default is to search the entire message log. "
"Use message-types as prefixes followed by (:) to filter more specific.\n"
"Valid message-type values are:</color> %s\n"
"\n"
"<color_white>Examples:</color>\n"
" <color_light_green>good</color><color_white>:mutation\n"
" :you pick up: 1</color>\n"
" <color_light_red>bad</color><color_white>:</color>\n"
"\n"
);
std::string type_text;
const auto &type_list = msg_type_and_names();
Expand Down

0 comments on commit 7797a34

Please sign in to comment.