summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cio.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-01 18:04:58 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-01 18:04:58 +0000
commit907c8096a95feeec60fcf696598316d398051092 (patch)
treef3a9ba3cb29e6dfa01a25fe1c9ef4fa29b13cd4a /crawl-ref/source/cio.cc
parente9a58044e36966a261704a21681e1240f985ea45 (diff)
downloadcrawl-ref-907c8096a95feeec60fcf696598316d398051092.tar.gz
crawl-ref-907c8096a95feeec60fcf696598316d398051092.zip
Apply 0.5 r9875 to trunk.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9877 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/cio.cc')
-rw-r--r--crawl-ref/source/cio.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/cio.cc b/crawl-ref/source/cio.cc
index 308aa3eed3..166bdb6382 100644
--- a/crawl-ref/source/cio.cc
+++ b/crawl-ref/source/cio.cc
@@ -613,6 +613,8 @@ int line_reader::process_key(int ch)
cur = buffer + pos;
cursorto(pos);
break;
+ case CK_MOUSE_CLICK:
+ return (-1);
default:
if (isprint(ch) && length < (int) bufsz - 1)
{