summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cio.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-23 13:34:16 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-23 13:34:16 +0000
commit041bb51cbf68b460ed41b3d8d42d5522775b7060 (patch)
tree9778fe1cccb3ae9e694bd0494c0ed6b8b7ed2856 /crawl-ref/source/cio.cc
parent78367ed8343d077b7975873b4319efb6b749079c (diff)
downloadcrawl-ref-041bb51cbf68b460ed41b3d8d42d5522775b7060.tar.gz
crawl-ref-041bb51cbf68b460ed41b3d8d42d5522775b7060.zip
[1757173] Ask user to type "yes" in full to quit. Compulsive quitters can still
macro some key to Qyes\{13}. Allow macros to enter text in cancelable_get_line prompts. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1914 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/cio.cc')
-rw-r--r--crawl-ref/source/cio.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/cio.cc b/crawl-ref/source/cio.cc
index 23305e556c..91f1ddd295 100644
--- a/crawl-ref/source/cio.cc
+++ b/crawl-ref/source/cio.cc
@@ -335,7 +335,7 @@ int line_reader::read_line(bool clear_previous)
for ( ; ; )
{
- int ch = c_getch();
+ int ch = getchm(c_getch);
if (keyfn)
{