:: String -> Int -package:hledger-lib -package:speculate -package:string-conversions -package:ViennaRNAParser -package:safe is:exact -package:polysemy package:vty

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