Skip to content

How come the terminal labels don't reflect the environment accurately? #1204

Closed

Description

@d0mf1g

I use the powershell and python terminals and am trying to make sense of the following two functions: "run python file in terminal" and "run selection/line in python terminal."

"Run python file in terminal" opens up a powershell terminal labeled "python." Script runs fine, and afterwards the "python" terminal that appears continues to operate as a powershell terminal, as it should. But why does the terminal label say "python" instead of "powershell" if the environment in the terminal that opened up is still powershell?

Now, another related issue: after you use the exit() command to exit an actual python environment, shouldn't the label of the terminal revert back to powershell/bash/whatever OS terminal?

Environment data

  • VS Code version: 1.21.1
  • Extension version: 2018.2.1
  • OS and version: Windows 10
  • Python version: Python 3.6
  • Type of virtual environment used: N/A

Activity

  1. DonJayamanne commented on Mar 27, 2018

    @DonJayamanne

    It's just a title, not necessarily the name of the shell. We choose to name it Python to indicate the fact that this is the terminal with a activated python environment.

  2. locked as resolved and limited conversation to collaborators on Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions