[PyPy-issue] [issue664] [PATCH] Extend readline emulation to support colour code and ansi escapes

Martijn pypy-dev-issue at codespeak.net
Fri Apr 1 09:02:39 CEST 2011

Martijn <ss at kleptog.org> added the comment:

Interesting you ask this. I knew this already, which is why I implemented it,
but if you ask how I know this, good question. It is used a lot because you
can't use ANSI colour codes in prompts without it.

I did some digging: the term to search for is RL_PROMPT_START_IGNORE. It is
documented under rl_expand_prompt in the info pages, see
http://www.manpagez.com/info/rlman/rlman-6.0/rlman_35.php .

PyPy development tracker <pypy-dev-issue at codespeak.net>

More information about the Pypy-issue mailing list