diff -Naur readline-5.0.orig/display.c readline-5.0/display.c --- readline-5.0.orig/display.c 2004-05-28 04:57:51.000000000 +0200 +++ readline-5.0/display.c 2004-10-31 21:28:46.000000000 +0100 @@ -920,6 +920,7 @@ start of the line and the cursor position. */ nleft = c_pos - pos; +#if 0 /* Since _rl_backspace() doesn't know about invisible characters in the prompt, and there's no good way to tell it, we compensate for those characters here and call _rl_backspace() directly. */ @@ -931,6 +932,7 @@ else _rl_last_c_pos = nleft; } +#endif if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) _rl_move_cursor_relative (nleft, &invisible_line[pos]);