onCursor

abstract fun onCursor(column: Int, row: Int, visible: Boolean, blinking: Boolean, shape: TerminalRenderCursorShape, generation: Long)

Copies one cursor snapshot.

Parameters

column

zero-based visual cursor column.

row

zero-based visual cursor row.

visible

whether the cursor should be rendered.

blinking

whether cursor blinking mode is enabled.

shape

renderer-facing cursor shape.

generation

generation that changes when cursor presentation changes.