added support for cursor displaying ; still an error when cursor is on empty lines.

Signed-off-by: Guyzmo <guyzmo+github@m0g.net>