Code: Select all
OpenConsole("test")
EnableGraphicalConsole(#True)
Repeat
Debug Inkey()
ForEver
Code: Select all
OpenConsole("test")
EnableGraphicalConsole(#True)
Repeat
Debug Inkey()
ForEver
Code: Select all
OpenConsole("test")
;EnableGraphicalConsole(#True)
Repeat
k$ = Inkey()
If k$
If k$ = #ESC$
c$ = ""
Repeat
k$ = Inkey()
If k$ = ""
Break
Else
c$ + Asc(k$) + " "
EndIf
ForEver
Debug "ESC + " + c$
Else
Debug k$
EndIf
Else
Delay(100)
EndIf
ForEver
OS: Mint Linux LMDE 6 and Raspberry x64Fred wrote: Thu Nov 02, 2023 9:43 pm I think it should returns empty when non ascii key is pressed and RawKey() should be used. But for now, RawKey() doesn't catch any non ascii character except ESC. Could you try on Linux to see if it's the same behaviour or if it's OS X specific ?