Read only 1 char in keyboard non_blocking, or 3 if key_esc is pressed