Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python shell Up Arrow not working w gitbash integrated #24521

Closed
chrisdel101 opened this issue Dec 3, 2024 · 1 comment
Closed

Python shell Up Arrow not working w gitbash integrated #24521

chrisdel101 opened this issue Dec 3, 2024 · 1 comment
Assignees
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug

Comments

@chrisdel101
Copy link

There is no python history while using the shell and everything must be manually retyped. l filed vscode issue but see this is actually an extension issue. Disabling makes the issue stop.

The problem seems to occur only w gitbash (not a powershell or command prompt user).

Environment data

  • Pylance version: 11.3
  • OS and version: win 11
  • Python version (& distribution if applicable, e.g. Anaconda): Python 3.12.6

Up arrow should work here

$ python 
Python 3.12.6 (tags/v3.12.6:a4a2d2b, Sep  6 2024, 20:11:23) [MSC v.1940 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 2-1
1
>>> 

Repro Steps

  • With extensions enabled open a python session in gitbash.

Expected behavior

  • up arrow should work as expected.

If there's another linux shell that is supported, or some change I can make to fix this I'd love to hear it.

@rchiodo
Copy link

rchiodo commented Dec 3, 2024

Thanks for the issue. Pylance wouldn't be responsible for this though. We don't integrate with the terminal at all. I believe this would be the Python extension. Transferring.

@rchiodo rchiodo transferred this issue from microsoft/pylance-release Dec 3, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Dec 3, 2024
@anthonykim1 anthonykim1 added area-terminal bug Issue identified by VS Code Team member as probable bug and removed triage-needed Needs assignment to the proper sub-team labels Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

4 participants