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 Up Arrow not working on gitbash intergrated terminal w venv running #24499

Closed
chrisdel101 opened this issue Nov 26, 2024 · 6 comments
Closed
Assignees
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@chrisdel101
Copy link

chrisdel101 commented Nov 26, 2024

Py up arrow history not working in shell while venv is running. Venv is essential to py dev so this is huge pain. Need instead to use external terminal which is bothersome.

See post that I've commented in 2 years ago as documented history.

Does this issue occur when all extensions are disabled?: Yes/No

Yes - all extensions are disabled + reloaded, but venv is running. Using pipenv for virtual environment.

  • VS Code Version: 1.95.3
  • OS Version: Win 11
  • Python 3.12.6
  • pipenv, version 2024.4.0

Steps to Reproduce:

  1. Open shell and run python command
  2. Try up arrow and fail

If this is a setting issue, or some kind of user error, I'd be happy to hear how to fix this :)

@karthiknadig karthiknadig removed their assignment Nov 28, 2024
@karthiknadig karthiknadig transferred this issue from microsoft/vscode Nov 28, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Nov 28, 2024
@anthonykim1
Copy link

anthonykim1 commented Dec 3, 2024

Thanks for filing this issue.
Does this issue persist when you use different shell other than git bash?
Please note git bash is not currently officially supported from Python extension.

@anthonykim1 anthonykim1 added bug Issue identified by VS Code Team member as probable bug area-terminal and removed triage-needed Needs assignment to the proper sub-team labels Dec 3, 2024
@github-actions github-actions bot added the info-needed Issue requires more information from poster label Dec 3, 2024
@chrisdel101
Copy link
Author

Yeah it works if I try powershell but I need a linux shell. Are there any Microsoft does support?
I tried this before with all extensions disabled, but I must not have restarted the shell b/c I retried with new shell, and all disabled, and the up arrow works. So it is extension after all.
Still very disruptive. Thanks for the reply.

Copy link

Hey @anthonykim1, this issue might need further attention.

@chrisdel101, you can help us out by closing this issue if the problem no longer exists, or adding more information.

@chrisdel101
Copy link
Author

Closing but hoping to leave commenting open in case others come here later.

@anthonykim1
Copy link

anthonykim1 commented Jan 16, 2025

Apologies for late response here @chrisdel101

Currently gitbash is not officially supported by Python extension.

Have you tried zsh, bash?

but I must not have restarted the shell b/c I retried with new shell,

I assume its gitbash when you say "new shell"

If it is the case that gitbash is messing with your arrow keys only when Python extension is enabled, I think it will be worth having this open.

@anthonykim1 anthonykim1 reopened this Jan 16, 2025
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jan 16, 2025
@anthonykim1 anthonykim1 marked this as a duplicate of #24521 Jan 29, 2025
@anthonykim1 anthonykim1 removed the triage-needed Needs assignment to the proper sub-team label Jan 29, 2025
Copy link

github-actions bot commented Mar 1, 2025

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.

Happy Coding!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 1, 2025
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 info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants