I want to read the pressed key an the keyboard without a need for an extra CR (ENTER).
Actually I am writing a shell and I add a stack implementation in it. The shell will be able to remember the past commands entered by the user. That's why, if the key pressed by the user is up/down arrow key, I will display the previous command.
Thanks in advice...