BaseFrame
This is the root frame class that serves as the foundation for the UI hierarchy. It manages the rendering context and acts as the top-level container for all other elements. Unlike other elements, it renders directly to a terminal or monitor and does not require a parent element.
Extends: Container
Properties
Property | Type | Default | Description |
---|---|---|---|
term | term | peripheral | term.current() |
Functions
Method | Returns | Description |
---|---|---|
BaseFrame:setCursor | - | Sets the cursor position |
BaseFrame:setCursor(x, y, blink)
Sets the cursor position
Parameters
x
number
The x position to set the cursor toy
number
The y position to set the cursor toblink
boolean
Whether the cursor should blink