set cursor in Textmode.