CrabScout. The best software around.
Search

go-runewidth

Measure how many display columns text uses in a terminal.

mattn · Data and documents

GitHub projectOpen source Open on GitHub

How to try it

In a new Go module, add github.com/mattn/go-runewidth at v0.0.31. Compare the width of a Latin letter and a wider character.

What we tested

v0.0.31. Compare the width of a Latin letter and a wider character. Measured the two widths and their combined width of three.

Reviews

Rate this repo

More to explore

  • GoAWKFilter and calculate over text and tabular data with AWK.GitHub projectOpen source
  • pupSelect text and elements from local HTML using terminal commands.GitHub projectOpen source
  • fx JSON toolExplore or transform JSON data in a terminal.GitHub projectOpen source

Share

What the labels mean

Save to your library