how can i read input from stdin, char by char, i want to get the
character as soon as it is entered, without having to press 'Enter'
after each character.