fix: set cmdString after prompting for continue input

makes sure that the old + new input is actually used for
builtin runners
pull/207/head
TorchedSammy 2022-09-17 20:28:52 -04:00
parent 8f41005da7
commit 8647dc57a1
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ func runInput(input string, priv bool) {
} }
if cont { if cont {
input, err = reprompt(input) cmdString, err = reprompt(input)
if err == nil { if err == nil {
goto rerun goto rerun
} else if err == io.EOF { } else if err == io.EOF {