fix: change prompt back to user's prompt on contine prompt exit

pull/128/head
TorchedSammy 2022-03-17 19:49:33 -04:00
parent 4da82e872c
commit 92d0e195ab
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 2 additions and 0 deletions

View File

@ -198,6 +198,8 @@ input:
for {
input, err = continuePrompt(input)
if err != nil {
running = true
lr.SetPrompt(fmtPrompt(prompt))
goto input // continue inside nested loop
}
if !strings.HasSuffix(input, "\\") {