fix stream.readline

This commit is contained in:
Daniella / Tove 2022-05-17 20:47:21 +02:00
parent f01977d85d
commit 327c07a15b

View file

@ -31,7 +31,7 @@ func stream.readline {
-1
2 stop
}
while { ( i 1 + =i ) ( byte 10 eq not byte -1 eq not ) } {
while { ( i 1 + =i ) ( byte 10 eq not byte -1 eq not and ) } {
id STREAM.read stream dup =byte _char
} pop
] =array