The display cursor was not adapted, if text was folded. This patch fixes it.
Unit Test
Fixed unit test.
Looks ok, seems I missed that case :(
thanks!
Commited, thanks for the reviews.