class Tui
implements TuiImplementation
Re-export
import { Tui } from "https://deno.land/x/tui@1.0.3/mod.ts";
Main object of Tui that contains everything keeping it running
Constructors
new
Tui(unnamed 0: TuiOptions)Methods
Async generator that handles "update" and "render" events
- on "update" event it renders background using
tui.style
. Then it callsdraw()
on every component intui.components
update(): AsyncGenerator<{ type: "update"; }, void, void>
Async generator that dispatches "update" event