When I set the cursor to a different position programmatically the cursor is not redrawn in the viewport until I change the viewport by clicking somewhere, or scrolling. Is there a way to make the viewport refresh? Here is what I'm doing inside of a WindowCommand where lastCurPos is a function returning a (row, col) tuple from a history of cursor positions