summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/macro.h')
-rw-r--r--crawl-ref/source/macro.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/macro.h b/crawl-ref/source/macro.h
index f38cd9c20f..0e847a1b55 100644
--- a/crawl-ref/source/macro.h
+++ b/crawl-ref/source/macro.h
@@ -40,6 +40,15 @@ public:
void clear();
};
+class pause_all_key_recorders {
+public:
+ pause_all_key_recorders();
+ ~pause_all_key_recorders();
+
+private:
+ std::vector<bool> prev_pause_status;
+};
+
int getchm(int (*rgetch)() = NULL); // keymaps applied (ie for prompts)
int getchm(KeymapContext context, int (*rgetch)() = NULL);