diff options
Diffstat (limited to 'Src/input.c')
-rw-r--r-- | Src/input.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Src/input.c b/Src/input.c index ba01dd068..a95dac52c 100644 --- a/Src/input.c +++ b/Src/input.c @@ -226,8 +226,11 @@ inputline(void) /* If reading code interactively, work out the prompts. */ if (interact && isset(SHINSTDIN)) { - if (!isfirstln) + if (!isfirstln) { ingetcpmptl = prompt2; + if (rprompt2) + ingetcpmptr = rprompt2; + } else { ingetcpmptl = prompt; if (rprompt) |