Fix broken line buffers#773
Conversation
|
hey @qRoC, thanks for the PR! Do you have some sample output to demonstrate the issue that your changes would fix? I think it could be helpful to have a test to demonstrate the behavior. I was having trouble reproducing this behavior over in #749, so I'd be curious if you have a consistent scenario that breaks. |
|
The chunk in So to reproduce this error, just print a string larger than the buffer size. For example, buffer size is 10 bytes, so for output: The Real case: I fixed this in qRoC/cargo-actions@fff2c76 |
luketomlinson
left a comment
There was a problem hiding this comment.
Thanks for this PR @qRoC! I'm going to go ahead and merge and add a test later.
Line buffer does not work on big strings.