From 8647dc57a11be912942fa69f9cc3c8cd0c9bb6a7 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sat, 17 Sep 2022 20:28:52 -0400 Subject: [PATCH] fix: set cmdString after prompting for continue input makes sure that the old + new input is actually used for builtin runners --- exec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec.go b/exec.go index 6e24719..5aee94a 100644 --- a/exec.go +++ b/exec.go @@ -130,7 +130,7 @@ func runInput(input string, priv bool) { } if cont { - input, err = reprompt(input) + cmdString, err = reprompt(input) if err == nil { goto rerun } else if err == io.EOF {