Commit f30ec435 authored by deuce's avatar deuce
Browse files

kbhit is not a function.

parent b0eea9bf
......@@ -14,7 +14,7 @@ if (js.global.conio !== undefined && dk.console.local) {
if (conio.kbhit) {
ch = conio.getch();
if (ch === 0) {
if (conio.kbhit()) {
if (conio.kbhit) {
ch = conio.getch();
switch(ch) {
case 0x47:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment