Measure terminal cell width from ground truth — probe the terminal, cache, then it's pure arithmetic. Drop-in for string-width / wrap-ansi / cli-truncate.
-
Updated
Jul 23, 2026 - TypeScript
Measure terminal cell width from ground truth — probe the terminal, cache, then it's pure arithmetic. Drop-in for string-width / wrap-ansi / cli-truncate.
Add a description, image, and links to the cli-trunca topic page so that developers can more easily learn about it.
To associate your repository with the cli-trunca topic, visit your repo's landing page and select "manage topics."