update all internal state of Cursor when setting the position

Signed-off-by: Florian Thienel <florian@thienel.org>
2 files changed