Open joyceerhl opened 10 months ago
This is still an issue, and has become even more of an issue lately.
Shift+Enter
, the Python code is "smartly" sent to the shell that Python was previously active (it says Python
in the VSCode terminal, but in actuality the regular shell is active).import library_name
are sent to the shell, causing the user's computer to freeze for several seconds as the shell deals with erroneous imports.
Testing #22533
exit()
Can we use shell integration here to restart the Python REPL or even switch the terminal type back to powershell after the user types
exit()
? cc @tyriar