forked from Galleondragon/qb64
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
It seems that input or keypresses are ignored when using $CONSOLE:ONLY in OSX and Linux.
$CONSOLE:ONLY
PRINT "Sleep?"
SLEEPPrints "Sleep?" then just hangs, and echos the keys I'm hitting forever.
$CONSOLE:ONLY
INPUT "Input"; I$Works as intended.
$CONSOLE:ONLY
PRINT "Inkey?"
DO: K$ = INKEY$: LOOP WHILE K$ = ""Prints "Inkey?" then just hangs, and echos the keys i'm hitting forever.
This works however:
_CONSOLE ON
_DEST CONSOLE
_SOURCE CONSOLE
PRINT "foo"
DO: K$ = INKEY$: LOOP WHILE K$ = ""But it still shows a window, not just only the console output...
Additionally this also is ignoring input on OSX (tried this as a work-around):
' Setup the console
$CONSOLE
$SCREENHIDE
_CONSOLE ON
_DEST _CONSOLE
_SOURCE _CONSOLEThe issue seems related to $SCREENHIDE as when that is not in use it works fine.
Metadata
Metadata
Assignees
Labels
No labels