K
Kenneth McDonald
In the following bit of code:
print STDIN.getc
STDOUT.flush
The code for whatever key I type isn't actually printed out until I go
on to hit the return key. How can I have it printed as soon as I type
a character key?
Thanks,
Ken
print STDIN.getc
STDOUT.flush
The code for whatever key I type isn't actually printed out until I go
on to hit the return key. How can I have it printed as soon as I type
a character key?
Thanks,
Ken