ratpoison-devel
[Top][All Lists]
Advanced

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

[RP] ANSI colours in the bar


From: Benno
Subject: [RP] ANSI colours in the bar
Date: Tue May 20 04:35:06 2003
User-agent: Mutt/1.4i

Ok, so I had another crazy idea that you'll all probably hate :).

Basically I would like to be able to print ANSI escape
sequences in the bar, (eg: like from the output of ls --color).

So it really didn't take much hacking at all to add this into 
the marked_wrapped_message function.

By supprting ANSI escape sequences we have a nice generic way
to print colours, or reverse text, in the bar. This means
we don't need to have a marked_ function, the markup can
just be encoded in the string.

Ok, so maybe no-one else here wants to display colours in the
bar because that is getting too close to pointless decoration,
or maybe ANSI escape sequences aren't the best way to implement
it. Let me know.

(I won't post a patch yet because I still have to find
some strange segfault.)

Cheers,

Benno




reply via email to

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