:: String -> Int -package:hledger-lib -package:speculate is:exact -package:ViennaRNAParser -package:gpolyline -package:monads-tf package:vty

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