>From what I heard yesterday from Josh (and I reserve the right to have mis-understood), Windows gained support for ANSI escapes, meaning we no longer need to special case the `color` setting for Windows. The module that handles colors in core probably doesn't look that different from the module that handles colors in Facter -- we should try to consolidate the code.
As for the colors themselves, I'm working on trying to build up a design vocabulary around them that we can use across our products; I'll let you know when we have something more concrete. On Wed, Apr 4, 2012 at 9:35 AM, Daniel Pittman <[email protected]>wrote: > On Wed, Apr 4, 2012 at 08:04, Ken Barber <[email protected]> wrote: > > > So I managed to get console colors working for Facter that works in > > both Windows & Unix (using ANSI escapes): > > Awesome. So, in the geordi work the "new console log" output system > was defined, which also supports colour. It only does Unix, though, > and just gave up on Windows. > > It would be good to look at integrating the two, at least to the level > of having a copy of the common code between them. > > That is, otherwise, pretty damn awesome - it will make Win32 much > nicer to work with. :) > > -- > Daniel Pittman > ⎋ Puppet Labs Developer – http://puppetlabs.com > ♲ Made with 100 percent post-consumer electrons > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
