Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/tui/src/canvas/mod.ts>Canvas

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
class Canvas
Re-export
import { Canvas } from "https://deno.land/x/tui@2.0.0/src/canvas/mod.ts";

Object, which stores data about currently rendered objects.

It is responsible for outputting to stdout.

Constructors

new
Canvas(options: CanvasOptions)

Properties

drawnObjects: SortedArray<DrawObject>
frameBuffer: string[][]
optional
rerenderedObjects: number
rerenderQueue: Set<number>[]
resize: boolean
stdout: Stdout