|
Lines 349-362
Link Here
|
| 349 |
local_prompt = expand_prompt (p, &prompt_visible_length, |
349 |
local_prompt = expand_prompt (p, &prompt_visible_length, |
| 350 |
&prompt_last_invisible, |
350 |
&prompt_last_invisible, |
| 351 |
(int *)NULL, |
351 |
(int *)NULL, |
| 352 |
(int *)NULL); |
352 |
&prompt_physical_chars); |
| 353 |
c = *t; *t = '\0'; |
353 |
c = *t; *t = '\0'; |
| 354 |
/* The portion of the prompt string up to and including the |
354 |
/* The portion of the prompt string up to and including the |
| 355 |
final newline is now null-terminated. */ |
355 |
final newline is now null-terminated. */ |
| 356 |
local_prompt_prefix = expand_prompt (prompt, &prompt_prefix_length, |
356 |
local_prompt_prefix = expand_prompt (prompt, &prompt_prefix_length, |
| 357 |
(int *)NULL, |
357 |
(int *)NULL, |
| 358 |
&prompt_invis_chars_first_line, |
358 |
&prompt_invis_chars_first_line, |
| 359 |
&prompt_physical_chars); |
359 |
(int *)NULL); |
| 360 |
*t = c; |
360 |
*t = c; |
| 361 |
return (prompt_prefix_length); |
361 |
return (prompt_prefix_length); |
| 362 |
} |
362 |
} |