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>TextRectangle

🦕 Deno module for creating Terminal User Interfaces
Latest
type alias TextRectangle
import { type TextRectangle } from "https://deno.land/x/tui@2.1.11/src/canvas/mod.ts";

Type that describes position and size of TextObject

When width isn't set, it gets automatically calculated depending of given value text width

definition: { column: number; row: number; width?: number; }