Command-line tool
string-width
cargo/string-width
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Accurate Unicode string width calculation for terminal applications, handling emoji, East Asian characters, combining marks, and ANSI escape sequences
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
cargo install string-width
macOS
cargo install string-width
Linux
cargo install string-width
Related command-line tools
- Contour
Terminal emulator linux hacktoberfest windows-terminal terminal console terminal-emulators library unicode xterm emoji… - merman-ascii
Terminal-friendly ASCII and Unicode renderer for Mermaid typed models. - unicode-animations
Unicode spinner animations as raw frame data braille spinner unicode animation loading cli terminal - rxvt-unicode
Rxvt fork with Unicode support - libsixel
SIXEL encoder/decoder implementation - chafa
Versatile and fast Unicode/ASCII/ANSI graphics renderer viewer graphics image cli images terminal processing unicode… - terminal-control
Control and test terminal applications through stable visible state - viu
Simple terminal image viewer written in Rust
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents