Put arrow key interpreter into its own file.