You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
Run this then enter 'qwerty'. (the w will not appear since it is being intercepted by the modified _ttyWrite).
Now hit enter (to close the readline, remove it and create a new one).
Now try typing 'qwerty', it should be the same but it isn't, this time 'qwerty' is printed.
If you uncomment the rl.pause() it works properly - but since rl.pause() is called from within rl.close() I don't have a clue why it doesn't work without it.
I apologise for the awful test case to illustrate the bug:
Run this then enter 'qwerty'. (the w will not appear since it is being intercepted by the modified _ttyWrite).
Now hit enter (to close the readline, remove it and create a new one).
Now try typing 'qwerty', it should be the same but it isn't, this time 'qwerty' is printed.
If you uncomment the rl.pause() it works properly - but since rl.pause() is called from within rl.close() I don't have a clue why it doesn't work without it.