A color pretty printer with terminfo support