mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-05 05:03:23 +00:00
fix: trim input and remove comment
This commit is contained in:
parent
cfdab00684
commit
22270dc537
4
main.go
4
main.go
@ -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, "\\"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user