import { Tui } from "https://deno.land/x/tui@1.3.4/src/tui.ts";
It does several things:
- Disables all event listeners
- Calls
Component.remove
on every component inTui.components
- Stops
Tui.render()
andTui.update()
viaTui.#dispatches
- Writes ANSI sequences to stdout which shows back cursor and returns to using primary terminal buffer