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
  • frame Target frame.
  • row Top row of the widget inside the frame.
  • col Left column of the widget inside the frame.
  • width Widget width.
  • height Widget height.
Returns

true when the widget configured the cursor. Example: klyn frame.cursorVisible = true frame.cursorRow = row frame.cursorCol = col return true