guns (Sung Pae)
- Login: guns
- Email: sung@metablu.com
- Registered on: 07/26/2010
- Last sign in: 01/10/2015
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
07/27/2010
-
08:34 AM Ruby Feature #3616: IRB + readline incorrectly counts non-printing characters in prompt
- =begin
> Even if it is implemented, you'll have to write as:
>
> :PROMPT_I => "\\[\e[0;1;32m\\]>>> \\[\e[0m\\]"
>
> It doesn't seem nice.
Yes, I agree. That is very ugly. I think it's appropriate to simply surround ...
07/26/2010
-
02:56 PM Ruby Feature #3616 (Closed): IRB + readline incorrectly counts non-printing characters in prompt
- =begin
When setting a prompt for IRB that contains terminal control characters:
IRB.conf[:PROMPT][:COLOR] = {
:PROMPT_I => "\e[0;1;32m>>> \e[0m",
...
}
IRB.conf[:PROMPT_MODE] = :COLOR
IRB includ...