summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r--crawl-ref/source/stash.cc5
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