Hi all,
Does anyone know of a way to scan a character from the command line without the enter key having to be pressed?
For example, the user would type 'a', which is then picked up and scanned by the program and stored, etc.
The only way of scanning input that I know of is by using Scanner, but this requires the enter key to be pressed.
Thanks in advance.