windows fix

This commit is contained in:
Daniella / Tove 2022-05-05 17:27:21 +02:00
parent 9e255b8e31
commit c8d39874c1

View file

@ -16,7 +16,7 @@ def STREAM.write iota =STREAM.write
def STREAM.create.server iota =STREAM.create.server
func STREAM.stdin {
getos strlowercase "win" astartswith dup if { "conIN$" } not if { "/dev/stdin" }
getos strlowercase "win" astartswith dup if { "conIN$" 2 stop } not if { "/dev/stdin" 2 stop }
}
func stream.readline {