fix stream.readline
This commit is contained in:
parent
1fe56dbf17
commit
2cbde3e64a
1 changed files with 2 additions and 2 deletions
|
@ -31,9 +31,9 @@ func stream.readline {
|
|||
-1
|
||||
2 stop
|
||||
}
|
||||
while { ( i 1 + =i ) ( byte 10 eq not ) } {
|
||||
while { ( i 1 + =i ) ( byte 10 eq not byte -1 eq not) } {
|
||||
id STREAM.read stream dup =byte _char
|
||||
}
|
||||
} pop
|
||||
] =array
|
||||
array alen 0 eq if {
|
||||
array _string
|
||||
|
|
Loading…
Add table
Reference in a new issue