adds underline to cursor