Skip to content

Python REPL isn't restarted after exiting and rerunning shift+enterΒ #22547

@joyceerhl

Description

@joyceerhl

Testing #22533

  1. Shift+enter to start a REPL and send some Python code to the REPL
  2. In the REPL, run exit()
  3. Now there is still a Python terminal
image 4. Shift+enter again 5. πŸ› the existing Python terminal is reused but the REPL isn't restarted, so my selection is just dumped straight to the command prompt

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

Metadata

Metadata

Assignees

Labels

area-replarea-terminalbugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions