AESH-282 Interpret arrow key sequences correctly in Win.

This ensures that arrows keys consisting of control characters, like 224;72 for up arrow are interpreted correctly on Windows.