Commit cfe0bab8 authored by Yazhong Liu's avatar Yazhong Liu Committed by Timothy J Fontaine
Browse files

readline: fix `line` event, if input emit 'end'

If an input stream would emit `end` event, like
`fs.createReadStream`, then readline need to get the last line
correctly even though that line isnt ended with `\n`.
parent c9802801
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment