Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-03-14 12:21:02 -0700 (Wed, 14 Mar 2007)
Revision: 10218
Log message:
Added support for marking the "invisible" escapes in the shell prompt. The
"invisibility" markers are used both:
- to tell the readline library that these parts should not be included in
"line length after the prompt" calculations, and
- in our own MAX_PROMPT_LENGTH handling, where we cut off the prompts that
are two long.
When the prompt is too long, add "..." at the end (making sure that only the
"visible" parts of the prompt are affected).
All the above changes are Unix-only.