Skip to main content
Module

x/tui/mod.ts>TextRectangle

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
type alias TextRectangle
import { type TextRectangle } from "https://deno.land/x/tui@2.1.4/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; }