Files
Basalt2/docs/references/elements/BaseFrame.md
2025-09-30 12:42:49 +00:00

856 B

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

Sets the cursor position

Parameters

  • x number The x position to set the cursor to
  • y number The y position to set the cursor to
  • blink boolean Whether the cursor should blink