Define cursor-type