saving and restoring cursor position
only painting 80 cloumn, if colorcolumn exists