:: String -> Int package:hledger-lib
Calculate the render width of a string, considering wide characters
(counted as double width)
Like strWidth, but also strips ANSI escape sequences before
calculating the width.
This is no longer used in code, as widths are calculated before adding
ANSI escape sequences, but is being kept around for now.
A SystemString-aware version of error.
A SystemString-aware version of error that adds a usage hint.