chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] color


From: Markus Klotzbuecher
Subject: Re: [Chicken-users] color
Date: Mon, 11 Apr 2011 11:29:23 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]