ipdb icon indicating copy to clipboard operation
ipdb copied to clipboard

TAB completion not working when fiddling with stdout

Open ebartrum opened this issue 2 years ago • 1 comments

Hey, Thanks for the information on the README about using ipdb when fiddling with stdout! That has solved a headache I've had for quite a while, whilst working within a forked repo which fiddles with stdout for logging purposes. I'm now able to use ipdb by running: import ipdb; ipdb.sset_trace(); ipdb.spm() The arrow keys work correctly now, which they didn't before. However, TAB completion still doesnt work for me in this scenario. When I hit TAB, the cursor moves forward. When I'm not fiddling with stdout, TAB completion works correctly for me.

Any ideas how I could solve this? In case it's helpful, the code which is fiddling with stdout is here:

ebartrum avatar Nov 29 '22 11:11 ebartrum

No idea at first thought. Sorry

gotcha avatar Dec 13 '22 19:12 gotcha