Closed Gunni closed 4 months ago
Trying to reorganize the modules so the readline will not be imported unconditionally.
Pls check if this solution will work for you. Now the readline module is imported in the cli script only, so it doesn't affect the rest of the library.
If it works, then I merge it in the main branch and tag the next release.
Merging, 'cause it's a good idea to move the import anyways.
Hey, just tested it with the code in https://github.com/svinota/pyroute2/pull/1165.
I can confirm that it works for my use-case.
Note that I did not test the cli module.
Note that this bug may also be fixed https://github.com/svinota/pyroute2/issues/625.
Please publish a new version on PyPi when you can!
Will be rolled out this weekend. Thanks for the feedback!
Hey,
We had an issue in our curses application after introducing pyroute2.
What happens is as far as we can tell:
Here is a fairly minimal example script I found somewhere, observe how importing pyroute2 breaks resizing the window: