From f30ec435816ca3bda37edbaf38a0c59cfa607b5f Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Wed, 25 Sep 2019 21:55:09 +0000
Subject: [PATCH] kbhit is not a function.

---
 exec/dorkit/local_console.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/dorkit/local_console.js b/exec/dorkit/local_console.js
index a8210e2cd6..960437d90b 100644
--- a/exec/dorkit/local_console.js
+++ b/exec/dorkit/local_console.js
@@ -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:
-- 
GitLab