error when not in an ANSI terminal