Hide cursor after typing is done