previous fix was not complete
This commit is contained in:
parent
295cfc17bd
commit
834a987d6c
@ -278,8 +278,7 @@ readline (prompt)
|
||||
return ((char *)NULL);
|
||||
}
|
||||
|
||||
if (rl_prompt != NULL)
|
||||
rl_visible_prompt_length = rl_expand_prompt (rl_prompt);
|
||||
rl_visible_prompt_length = rl_prompt ? rl_expand_prompt (rl_prompt) : 0;
|
||||
|
||||
rl_initialize ();
|
||||
rl_prep_terminal (_rl_meta_flag);
|
||||
|
Loading…
x
Reference in New Issue
Block a user