Is your feature request related to a problem? Please describe.
I often forget a Python script running in the terminal waiting for a keypress with msvcrt.getch(), then I try to run the script again and get all sorts of weird issues.
Describe the solution you'd like
I'm not sure what causes this issue, but I imagine if I had an option to kill the existing terminal before running the script it would fix it, since if I do that manually the issue doesn't happen.
Is your feature request related to a problem? Please describe.
I often forget a Python script running in the terminal waiting for a keypress with msvcrt.getch(), then I try to run the script again and get all sorts of weird issues.
Describe the solution you'd like
I'm not sure what causes this issue, but I imagine if I had an option to kill the existing terminal before running the script it would fix it, since if I do that manually the issue doesn't happen.