Displays a key pressed by the user