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

x/indent_and_wrap/private/indent.ts>GetTextRectOptions

Finds and replaces common indent, hard-wraps text, generates text tables and table-based complex text layouts. Can work on text that contains terminal escape sequences.
Go to Latest
type alias GetTextRectOptions
import { type GetTextRectOptions } from "https://deno.land/x/indent_and_wrap@v0.0.15/private/indent.ts";
definition: { indent?: string; ignoreFirstIndent?: boolean; wrapWidth?: number; overflowWrap?: boolean; tabWidth?: number; mode?: "plain" | "term"; }