fix: dont print extra new line on ctrl+d in continue prompt

dev
TorchedSammy 2021-11-28 10:44:02 -05:00
parent 9261253b63
commit ce0b2ab955
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 0 additions and 1 deletions

View File

@ -218,7 +218,6 @@ func ContinuePrompt(prev string) (string, error) {
lr.SetPrompt(multilinePrompt)
cont, err := lr.Read()
if err != nil {
fmt.Println("")
return "", err
}
cont = strings.TrimSpace(cont)