:: String -> Int is:exact -package:safe 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.
Simpler alias for errorWithoutStackTrace
A version of errorWithoutStackTrace that adds a usage hint.