How to read chars without <enter> key from input?
Hi all.
I have read many forums but I still haven't figure it out how to read characters from the console input without having the user to type the return key <enter>.
What I have found is that I have to make a combination of KeyListener or KeyAdapter using a Writer.
The thing is that I haven't found a way to transform the inputSystem.in into a Writer and then as there are no GUI, I quite don't get how to use the KeyListener from the console.
What I suppose is that once the input stream has been wrapped into a Writer, I would have to catch the key strokes and depending on what I want, either take some action or simply pass the character to the console.
A good example would be like a simple implementation of a program that tells the user, "Type any key to continue" (and the user does not have to type enter for that).
Thx in advance.

