summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-04-02 23:29:43 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-04-02 23:29:43 +0200
commit1097d773f78f37c96841f98558d6f3e75572f4b7 (patch)
treefa4e9215c05c70b51efc5bc7df75dcfa468bf7ed /crawl-ref/source/libunix.h
parent63f08da3a9808af44095ac198fb513b3643c346d (diff)
downloadcrawl-ref-1097d773f78f37c96841f98558d6f3e75572f4b7.tar.gz
crawl-ref-1097d773f78f37c96841f98558d6f3e75572f4b7.zip
Don't rely on undocumented behaviour of ncursesw.
The API doesn't provide a way to giveback a function key, so let's do our own giveback buffer.
Diffstat (limited to 'crawl-ref/source/libunix.h')
-rw-r--r--crawl-ref/source/libunix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/libunix.h b/crawl-ref/source/libunix.h
index 6b3d7e91ac..30442d9967 100644
--- a/crawl-ref/source/libunix.h
+++ b/crawl-ref/source/libunix.h
@@ -27,7 +27,7 @@ void cprintf(const char *format,...);
int gotoxy_sys(int x, int y);
void fakecursorxy(int x, int y);
extern "C" char *itoa(int value, char *strptr, int radix);
-int kbhit(void);
+bool kbhit(void);
int putwch(unsigned chr);
void put_colour_ch(int colour, unsigned ch);
int wherex(void);