Protect cursorPosition(x, y) against malformed sequences
Merge pull request #58 from Plonk42/cursor_position_defense

Protect cursorPosition(x, y) against malformed sequences