Creating a Term from Read and Write was added in #34 (merged #93 ) which is pretty cool 🎉
I am using that mechanism to write a TestTerminal that buffers calls to Write internally and has prepared content for Read.
My code uses term.read_line() though, which to my surprise uses stdin() directly.
I was expecting that to go through Read.
Is that something that could be adjusted? I can probably try and submit a PR?
Creating a Term from
ReadandWritewas added in #34 (merged #93 ) which is pretty cool 🎉I am using that mechanism to write a
TestTerminalthat buffers calls toWriteinternally and has prepared content forRead.My code uses
term.read_line()though, which to my surprise usesstdin()directly.I was expecting that to go through
Read.Is that something that could be adjusted? I can probably try and submit a PR?