2
2
réplica de https://github.com/Hilbis/Hilbish synced 2025-07-10 21:12:02 +00:00

fix: trim input and remove comment

Este commit está contenido en:
TorchedSammy 2021-04-04 20:30:03 -04:00
padre cfdab00684
commit 22270dc537

Ver fichero

@ -98,7 +98,9 @@ func main() {
fmt.Fprintln(os.Stderr, err)
}
// I have no idea if we need this anymore
input = strings.TrimSpace(input)
if len(input) == 0 { continue }
if strings.HasSuffix(input, "\\") {
for {
input, err = ContinuePrompt(strings.TrimSuffix(input, "\\"))