M
Marcin Rodzik
Is there any way to track down keys pressed by the user in a console
app? It means reading what he/she is typing immediately. You can read
the standard input stream, but the stream is empty until the user
presses ENTER. I know it's a stuff related to the operating system
which always passes data to the stdin after ENTER is hit, but I'm
looking for some workaround. And it needs to work on both Windows and
Unix/Linux. Any ideas?
MR
app? It means reading what he/she is typing immediately. You can read
the standard input stream, but the stream is empty until the user
presses ENTER. I know it's a stuff related to the operating system
which always passes data to the stdin after ENTER is hit, but I'm
looking for some workaround. And it needs to work on both Windows and
Unix/Linux. Any ideas?
MR