:: String -> Int -package:hledger-lib -package:speculate -package:ViennaRNAParser -package:ghc -is:exact -package:language-c -package:bytestring package:vty

Returns the display width of a string. Assumes all characters with unknown widths are 0 width.