After some thought and source code, I think that it's simpler to modify the code as I've done (instead of adding another configuration value that is not obvious for beginners to set): changeset add a new interactive flag to the run command.
This fix implements the following:
Let me know if I headed in the right direction, I can work on fixing the line prefixing issue in this particular case.
Small refactor in io.py
- Optimize read when there is no capture made
Added interactive flag to run
- Setting interactive to False propagate the flag down to the io and ensure reads are fast
- This use a codepath that was never used before in the read loop and in which no prefix is displayed
This pull request passes (merged 19002e9 into 994a76e).
Merge remote-tracking branch 'upstream/master'
Remove interactive behavior
Tests do pass !
Now read by 4 bytes chunks
Now honors \r\n in network blocks
Increase read size
Use two sets of bytes to print/handle interactive because we modify p…