import{_ as t,a,b as o,ag as i}from"./chunks/framework.BcrMLAmg.js";const u=JSON.parse('{"title":"Display","description":"","frontmatter":{},"headers":[],"relativePath":"references/elements/Display.md","filePath":"references/elements/Display.md","lastUpdated":1757844696000}'),r={name:"references/elements/Display.md"};function d(l,e,n,s,c,h){return o(),a("div",null,e[0]||(e[0]=[i('

Display

The Display is a special element where you can use the window (term) API to draw on the display, useful when you need to use external APIs.

Extends: VisualElement

Functions

MethodReturnsDescription
Display:getWindowtableReturns the current window object
Display:writeDisplayWrites text to the display

Display:getWindow()

Returns the current window object

Returns

Display:write(x, y, text, fg?, bg?)

Writes text to the display at the given position with the given foreground and background colors

Parameters

Returns

',15)]))}const y=t(r,[["render",d]]);export{u as __pageData,y as default};