diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-28 16:55:30 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-28 16:55:30 +0000 |
commit | 9033470b12d90d2f12d255720e76389166f7f566 (patch) | |
tree | 62ae5bb8c66bb792b0b8c4df093a838e883dba56 /crawl-ref/source/stash.cc | |
parent | 1e30561a62b3b9fbe6d359ca7c11736e688f283e (diff) | |
download | crawl-ref-9033470b12d90d2f12d255720e76389166f7f566.tar.gz crawl-ref-9033470b12d90d2f12d255720e76389166f7f566.zip |
Fixed bad stash-search prompt on DOS.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3374 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r-- | crawl-ref/source/stash.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc index 6e002ca209..77af6ae9d0 100644 --- a/crawl-ref/source/stash.cc +++ b/crawl-ref/source/stash.cc @@ -1370,7 +1370,10 @@ void StashTracker::show_stash_search_prompt() if (!prompt_qual.empty()) prompt_qual = " [" + prompt_qual + "]"; - mprf(MSGCH_PROMPT, "Search for what%s?\n", prompt_qual.c_str()); + mprf(MSGCH_PROMPT, "Search for what%s?", prompt_qual.c_str()); + // Push the cursor down to the next line. Newline on the prompt will not + // do the trick on DOS. + mpr("", MSGCH_PROMPT); } class stash_search_reader : public line_reader |