Hi,

At Mon, 26 Jul 2010 14:56:14 +0900,
Sung Pae wrote in [ruby-core:31484]:
> Bash handles this issue by mapping `\[' and `\]' to RL_PROMPT_START_IGNORE and
> RL_PROMPT_END_IGNORE inside of `PS*' prompt variables. It would be nice to offer
> the same feature in IRB, or simply to surround all terminal escape sequences in
> the IRB prompt with RL_PROMPT_*_IGNORE.

Even if it is implemented, you'll have to write as:

      :PROMPT_I => "\\[\e[0;1;32m\\]>>> \\[\e[0m\\]"

It doesn't seem nice.

-- 
Nobu Nakada