Hi

>From my understanding of 
>http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
it's OK to ask gnu-readline questions in this list.

I'm trying to interactively add colors while typing in readline and
using rl_event_hook to change rl_line_buffer seems to work.

Alas the ANSI escape codes for formatting which are allowed in the
prompt are not interpreted and shown as they are.


I learned from the old discussions I googled entering formatting code
would confuse cursor point and history entries.

Any other approach to achieve this?

Maybe a hook which does the final printing when a line is displayed,
where I could inject colors?

Cheers
  Rolf

Reply via email to