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

x/tui/src/components/label.ts>LabelRectangle

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
type alias LabelRectangle
import { type LabelRectangle } from "https://deno.land/x/tui@2.0.0/src/components/label.ts";

Type that describes position and size of Label When width or height isn't set, they gets automatically calculated depending of given value text width and amount of lines

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