mirror of https://github.com/Hilbis/Hilbish
fix: trim input and remove comment
parent
cfdab00684
commit
22270dc537
4
main.go
4
main.go
|
@ -98,7 +98,9 @@ func main() {
|
||||||
fmt.Fprintln(os.Stderr, err)
|
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, "\\") {
|
if strings.HasSuffix(input, "\\") {
|
||||||
for {
|
for {
|
||||||
input, err = ContinuePrompt(strings.TrimSuffix(input, "\\"))
|
input, err = ContinuePrompt(strings.TrimSuffix(input, "\\"))
|
||||||
|
|
Loading…
Reference in New Issue