:: String -> Int -package:hledger-lib -package:speculate -package:express -package:dbus -package:gpolyline -package:safe -package:hxt -package:simple-cmd -package:polysemy -package:ghc-lib-parser package:hledger

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.
Alias for realLength.
Synonym for error. Used for instances where the program has decided to exit because of invalid user input, or the user pressed quit etc. This function allows error to be reserved for programmer errors.
Raises an error with a printf-specific prefix on the message string.
Simpler alias for errorWithoutStackTrace
A version of errorWithoutStackTrace that adds a usage hint.