mirror of
https://github.com/troglobit/editline.git
synced 2025-05-06 04:21:24 +08:00
Merge pull request #68 from Feoramund/respect-default-prompt
This commit is contained in:
commit
6207edfe95
@ -1435,7 +1435,8 @@ static int el_prep(const char *prompt)
|
||||
if (!Screen)
|
||||
return -1;
|
||||
|
||||
rl_prompt = prompt ? prompt : NILSTR;
|
||||
if (prompt)
|
||||
rl_prompt = prompt;
|
||||
prompt_len = strlen(rl_prompt);
|
||||
|
||||
if (el_no_echo) {
|
||||
|
Loading…
Reference in New Issue
Block a user