Implement extended arrow key sequences