I written QB64 code to try the BASIC functions INPUT$
and INKEY$
.
This program runs good when it doesn't run in Linux console mode, but if we set the SW to run in Linux console mode this SW doesn't run correctly. It hangs.
I think the issue is due to Linux console behaviour. Have you a workaround?
Here is the simple code:
$CONSOLE:ONLY
_DEST _CONSOLE
PRINT "Hit a key"
A$ = INPUT$(1)
PRINT A$
PRINT "Hit a key"
B$ = ""
WHILE B$ = "": B$ = INKEY$: WEND
PRINT B$
PRINT "Hit a key"
C$ = INPUT$(1)
PRINT C$