klyn.gui.terminal.Widget.configureCursor
method
public configureCursor(frame as TerminalFrame, row as Int, col as Int, width as Int, height as Int) as Boolean:
Description

Lets a widget place the terminal cursor inside its own frame area.

Parameters
ParameterDescription
frameTarget frame.
rowTop row of the widget inside the frame.
colLeft column of the widget inside the frame.
widthWidget width.
heightWidget height.
Returns

true when the widget configured the cursor.

Example
frame.cursorVisible = true
frame.cursorRow = row
frame.cursorCol = col
return true