-
Notifications
You must be signed in to change notification settings - Fork 55
Description
When only the cursor is drawn in a new position and no other text changes are made the displayed output does not get updated and the cursor stays in the previous position.
In this example below in the text field the cursor does not move when arrow keys are pressed unless the position is shown on the screen. The position text update forces the redraw.
If the arrow keys are pressed when the position is not active and the position is then activated by pressing space the cursor will jump to the intended position.
https://github.com/Calonca/ratzilla/tree/fix/cursor-movement-invisible-example/examples/cursor_test
Forcing a redraw is a workaround for the issue
72753a6
So the problem might be due to a null diff and a skipped redraw when only the cursor position is updated.