summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cio.h
diff options
context:
space:
mode:
authorPekka Lampila <pekka.lampila@iki.fi>2013-12-03 06:57:57 +0200
committerPekka Lampila <pekka.lampila@iki.fi>2013-12-03 07:04:35 +0200
commit4179fa437358e3dd8d25bcf11b8a84bab403f475 (patch)
tree10bd22cdd07c710e20150d5d93f7be8e593d2724 /crawl-ref/source/cio.h
parent2d023e691c57b7d39d0d2402b7867b97402736cd (diff)
downloadcrawl-ref-4179fa437358e3dd8d25bcf11b8a84bab403f475.tar.gz
crawl-ref-4179fa437358e3dd8d25bcf11b8a84bab403f475.zip
Special handling for repeat cmd prompt in WebTiles
Previously it was simply broken.
Diffstat (limited to 'crawl-ref/source/cio.h')
-rw-r--r--crawl-ref/source/cio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/cio.h b/crawl-ref/source/cio.h
index 6ce9048117..2da19535dd 100644
--- a/crawl-ref/source/cio.h
+++ b/crawl-ref/source/cio.h
@@ -239,6 +239,9 @@ public:
void set_input_history(input_history *ih);
void set_keyproc(keyproc fn);
+#ifdef USE_TILE_WEB
+ void set_tag(const string &tag);
+#endif
protected:
void cursorto(int newcpos);
@@ -259,7 +262,9 @@ protected:
keyproc keyfn;
int wrapcol;
+#ifdef USE_TILE_WEB
string tag; // For identification on the Webtiles client side
+#endif
// These are subject to change during editing.
char *cur;