summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cio.h
diff options
context:
space:
mode:
authorPekka Lampila <pekka.lampila@iki.fi>2013-12-03 07:31:21 +0200
committerPekka Lampila <pekka.lampila@iki.fi>2013-12-03 07:31:21 +0200
commitdf150e23386a00d010c28f53958e6d30f86232f9 (patch)
tree004b7809d1007cc9a31c476d935cb0357338e0a5 /crawl-ref/source/cio.h
parenta637296d9d8e717f08a3f291d58ad5ede9e2325b (diff)
downloadcrawl-ref-df150e23386a00d010c28f53958e6d30f86232f9.tar.gz
crawl-ref-df150e23386a00d010c28f53958e6d30f86232f9.zip
Special handling for WebTiles travel depth prompt
Allows using <, >, $ etc. Dead keys aren't handled properly (at least not in Firefox on Linux).
Diffstat (limited to 'crawl-ref/source/cio.h')
-rw-r--r--crawl-ref/source/cio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/cio.h b/crawl-ref/source/cio.h
index 2da19535dd..9aa4654641 100644
--- a/crawl-ref/source/cio.h
+++ b/crawl-ref/source/cio.h
@@ -57,7 +57,8 @@ int cancellable_get_line(char *buf,
int len,
input_history *mh = NULL,
int (*keyproc)(int &c) = NULL,
- const string &fill = "");
+ const string &fill = "",
+ const string &tag = "");
// Do not use this templated function directly. Use the macro below instead.
template<int> static int cancellable_get_line_autohist_temp(char *buf, int len)