produces non-exact matches, then the exact match is shown right away, but with a footer saying that you can press space to look at the list of non-exact matches.
When done with a "?/" query, the user is returned to the inital "/?" prompt.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3010 c06c8d41-db1a-0410-9941-cceddc491573
GOPBXMJ7EKKPDSDXCANWW6ARWGNLOQ5DK7WI4UPD7K2GCDSK2HXAC
VCG3BRIYRTNNWYC3LOXD6KFGXOX37HAFW2HNV7WXVG2V7EUHLDZQC
PAYI4UTJCR3XZSFOX5L35EURHRXQ6STO4Z7AQ3525QPNL3QYLNBAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
ZIFFVCQ72K35WGIUMZYN3KOXIUXF2CNXWKG6ZWEZ6LT3NSF3XOQAC
VRFQK6S2TXOFFO5K5HRDXPR7QEKKAZAVCASSIJVPWQ4GE26UOGTQC
W2KRIXSCRJPS6WDIYTHVF5IRMF3V5DWECRAWUPVTB7VZ6A2BLD4QC
NXVPOFYKJFWQWKVPQUMWH2Y2KJEZX44BUOBFJ4JD4KFGPEGYHG4QC
}
if (exact_match)
{
std::string footer = "This entry is an exact match for '";
footer += regex;
footer += "'. To see non-exact matches, press space.";
if (!do_description(regex, footer))
{
DEBUGSTR("do_description() returned false for exact_match");
return (false);
}
if (getch() != ' ')
return (false);