Submitted By: Jim Gifford (patches at jg555 dot com) Date: 2004-08-17 Initial Package Version: 5.0 Origin: Paul Jarc Upstream Status: Sent Description: Fixes a display issue which will only show 33 characters then wrap to the next line. --- readline-5.0/display.c.orig 2004-08-17 17:57:13.923767376 +0000 +++ readline-5.0/display.c 2004-08-17 17:59:19.293708248 +0000 @@ -351,14 +351,14 @@ local_prompt = expand_prompt (p, &prompt_visible_length, &prompt_last_invisible, (int *)NULL, - (int *)NULL); + &prompt_physical_chars); c = *t; *t = '\0'; /* The portion of the prompt string up to and including the final newline is now null-terminated. */ local_prompt_prefix = expand_prompt (prompt, &prompt_prefix_length, (int *)NULL, &prompt_invis_chars_first_line, - &prompt_physical_chars); + (int *)NULL); *t = c; return (prompt_prefix_length); }