- set the cursor shape depending on the current font height