Skip to main content
Module

x/tui/mod.ts>textWidth

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
function textWidth
Re-export
import { textWidth } from "https://deno.land/x/tui@2.1.7/mod.ts";

Returns real {text} width

Parameters

text: string
optional
start = [UNSUPPORTED]

Returns

number