Hi!

Is there any interest in adding colour support to editline?

It is a known issue that editline doesn't support colour prompts.
http://stackoverflow.com/questions/21240181/how-to-colorize-the-prompt-of-an-editline-application

We are also interested in some editor-like features, including syntax
highlighting and
matching parens while typing. Those are probably of a little interest for
the general audience,
however once the machinery necessary to enable colour prompts is in place
these editor-like
features almost come as a side effect.

I was able to implement colour support on top of a dated editline source
tree:
https://github.com/mejedi/libeditline-color

While it works, I'm not exactly happy with the patch. I was concerned with
merging
with the upstream, so I tried hard to avoid extending core data structures
like el_(v)display.
The code is still working with Char pointers, but here and there the
associated colour
data is retrieved in an awkward way.

So if there is any interest in colour support in editline, I am willing to
rework my patch and
to collaborate to make it happen.

Regards,
Nick

Reply via email to