Re: Invisible characters in prompt with multi-byte support enabled

2005-07-12 Thread Thomas Dickey
Alexander Becher <[EMAIL PROTECTED]> wrote: > Short version: bash-2.05b/lib/readline/display.c:update_line:1353 > calculates _rl_last_c_pos incorrectly if multibyte support is enabled > and there are invisible characters in the line that include zero-width > characters. There's a similar problem w

Invisible characters in prompt with multi-byte support enabled

2005-07-11 Thread Alexander Becher
Short version: bash-2.05b/lib/readline/display.c:update_line:1353 calculates _rl_last_c_pos incorrectly if multibyte support is enabled and there are invisible characters in the line that include zero-width characters. Long version: I have in my .bashrc: PS1='[EMAIL PROTECTED]:\w\$\[\e[0m\] ' Ho