2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-02 03:33:22 +00:00

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

This commit is contained in:
TorchedSammy 2022-03-17 19:49:33 -04:00
parent 4da82e872c
commit 92d0e195ab
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

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, "\\") {