import { Tui } from "https://deno.land/x/tui@1.3.4/src/tui.ts";
It does several things:
- Writes ANSI sequences to stdout to use secondary terminal buffer, hide cursor and clear screen
- Calls
Tui.update()
andTui.render()
- On "update" event it renders background using
Tui.style
and callsComponent.draw()
on every component inTui.components