Hi Chris,

On Sun, Apr 10, 2011 at 11:43:26PM -0700, Chris Bolton wrote:
> anyone know how one would go about printing bold/colored text to a terminal? I
> tried running "echo -e $(tput bold) stuff" with process-run but it didn't
> process the variable and just printed "$(tupt bold) stuff"

I like to use the fmt egg for that:

$ csi 
#;1> (use fmt fmt-color)
#;2> (fmt #t (fmt-green (fmt-bold  "this is green")) nl)
this is green
#;3> 

Markus


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to