Skip to content

POINTER_SHAPES

const POINTER_SHAPES: readonly ["default", "pointer", "text", "vertical-text", "wait", "progress", "help", "crosshair", "cell", "move", "grab", "grabbing", "alias", "copy", "no-drop", "not-allowed", "zoom-in", "zoom-out", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize"]

Defined in: src/driver/driver.ts:48

The 30 standard mouse-pointer shapes, named after the CSS cursor property and required by the OSC 22 pointer-shape protocol (kitty/foot/xterm). A widget requests one via its cursor style; the App pushes it to the driver as the pointer crosses widget boundaries. "default" is the platform arrow.