extract calculation of cursor position in own class

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