Skip to content
Snippets Groups Projects
Commit f30ec435 authored by deuce's avatar deuce
Browse files

kbhit is not a function.

parent b0eea9bf
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment