Skip to content

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 ​

PropertyTypeDefaultDescription
termtermperipheralterm.current()

Functions ​

MethodReturnsDescription
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

Released under the MIT License.