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
xnumberThe x position to set the cursor toynumberThe y position to set the cursor toblinkbooleanWhether the cursor should blink