diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-02-14 16:35:42 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-03-31 22:17:07 +0200 |
commit | 6f1033c0763f8226e28e79ba7ec9ccc39c715cea (patch) | |
tree | 19e35ac1ced732be27ec48781390dbf1047b6ac1 /crawl-ref/source/libw32c.cc | |
parent | d3697953552df3e272b77eb1e7528bacd59643d5 (diff) | |
download | crawl-ref-6f1033c0763f8226e28e79ba7ec9ccc39c715cea.tar.gz crawl-ref-6f1033c0763f8226e28e79ba7ec9ccc39c715cea.zip |
Basic cursesw input.
No direction keys yet...
Diffstat (limited to 'crawl-ref/source/libw32c.cc')
-rw-r--r-- | crawl-ref/source/libw32c.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/libw32c.cc b/crawl-ref/source/libw32c.cc index eced47b517..f47d52e414 100644 --- a/crawl-ref/source/libw32c.cc +++ b/crawl-ref/source/libw32c.cc @@ -721,7 +721,7 @@ int vk_translate(WORD VirtCode, CHAR c, DWORD cKeys) int m_getch() { - return getch(); + return getchk(); } static int w32_proc_mouse_event(const MOUSE_EVENT_RECORD &mer) @@ -825,7 +825,7 @@ int getch_ck(void) return key; } -int getch(void) +int getchk(void) { int c = getch_ck(); return key_to_command(c); |