Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/terminal_images/deps.ts>tty.wcswidth

A Deno module and CLI tool for printing images to the console. 🖼️
Latest
function tty.wcswidth
import { tty } from "https://deno.land/x/terminal_images@3.1.0/deps.ts";
const { wcswidth } = tty;

Parameters

str: string
optional
unnamed 1: Defaults = [UNSUPPORTED]

Returns

number