Handling keystrokes: move the pen up, down, left, right with the cursor keys, h, i, j, k, shift etc.