1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-02 00:41:40 +00:00
millfork/examples/crossplatform/readkeytest.mfk

14 lines
238 B
Plaintext
Raw Permalink Normal View History

2020-03-31 16:58:19 +00:00
import stdio
import keyboard
void main() {
byte c
ensure_mixedcase()
while true {
c = readkey()
putchar(c)
putchar(hi_nibble_to_hex(c))
putchar(lo_nibble_to_hex(c))
putchar(' ')
}
}