fix bug related to line endings

This commit is contained in:
2025-09-08 13:41:02 -07:00
parent 0dc93d369e
commit 6529f4118c

3
gem300.rkt Normal file → Executable file
View File

@@ -20,7 +20,8 @@
(λ (exn)
(displayln (exn-message exn)))])
(match (regexp-match #px"(\\w+)\\s*(.*)" (read-line))
(match (regexp-match #px"(\\w+)\\s*(.*)"
(read-line (current-input-port) 'any))
[(or (list _ "go" url)
(list _ "g" url))
(send client go-cmd url)]