py-spy icon indicating copy to clipboard operation
py-spy copied to clipboard

Terminal i/o glitches after exiting from py-spy top

Open BuvinJT opened this issue 3 years ago • 0 comments

I'm using py-spy on a CentOS 6 VM to peer into the state of a production Python Twisted server. (Wow, is this an awesome debugging tool to have! Thanks so much for creating this!)

Unfortunately, after I exit from the "top" utility, I have to exit from my SSH terminal session too each time, because I can no longer see the commands I'm typing, the prompt doesn't line wrap correctly, and the whole terminal interface is just "confused" in general. It seems like something doesn't quite destruct / reset properly when py-spy terminates in this context.

In case it helps: I'm connecting to the terminal over SSH from Windows via PUTTY. I'm also running py-spy inside a Conda virtual environment.

BuvinJT avatar Mar 31 '21 16:03 BuvinJT