fix: dont make continued input spaced out

basically, if i had something like
> here i want to \
complete
it would return "here i want to  complete"
so now it doesnt anymore, if you want the space, do it manually
pull/59/head
sammy 2021-05-15 22:25:29 -04:00
parent 0afca3d4f6
commit 4ce223e2f4
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ func ContinuePrompt(prev string) (string, error) {
} }
cont = strings.TrimSpace(cont) cont = strings.TrimSpace(cont)
return prev + " " + strings.TrimSuffix(cont, "\n"), nil return prev + strings.TrimSuffix(cont, "\n"), nil
} }
// This semi cursed function formats our prompt (obviously) // This semi cursed function formats our prompt (obviously)