How can I create a fancier REPL prompt with styled strings? (was: Make `Base.textwidth` ignore ANSI sequences)

You could strip out the ANSI escapes (which are not part of Unicode) before calling textwidth, e.g. Strange characters in windows terminal - #4 by digital_carver

But probably better to use StyledStrings