Capturing ANSI colors via no terminal