[pacman-dev] coloured pacman

Vojtěch Gondžala vogo at seznam.cz
Tue Feb 6 16:13:55 EST 2007

OK, i make new 
diff(http://www.fi.muni.cz/~xgondz/pacman3-color/pacman3-color.diff), I hope 
that is correct.

The function color is colouring a string only when descriptor is a tty, it's 
querying via function isatty.

I thing, when a string will be colouring in function pm_fprintf must be  
overlay function fprintf and that isn't a trifle.

I can keep this patch out of pacman, when you think that color output in 
console isn't good idea, it isn't problem ;-).

More information about the pacman-dev mailing list