Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tui/src/utils/strings.ts>textWidth

🦕 Deno module for creating Terminal User Interfaces
Latest
function textWidth
import { textWidth } from "https://deno.land/x/tui@2.1.11/src/utils/strings.ts";

Returns real {text} width

Parameters

text: string
optional
start = [UNSUPPORTED]

Returns

number