Switched to the terminal's key press handler