2
3
镜像来自 https://github.com/sammy-ette/Hilbish synced 2025-08-10 02:52:03 +00:00

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
This commit is contained in:
sammy 2021-05-15 22:25:29 -04:00
父節點 0afca3d4f6
當前提交 4ce223e2f4
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 50EE40A2809851F5

查看文件

@ -174,7 +174,7 @@ func ContinuePrompt(prev string) (string, error) {
}
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)