The function "getKey" read a single input from keyboard without waiting for the "Enter". After you press a key you can read the corresponding character from the output buffer "@1"