-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Properly differentiate Windows, Linux, and WSL in pythonrc.py script #23829
Comments
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.91.1. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding! |
Problem still exists. Thank you! |
@anthonykim1 is this stuff not behind an opt-in setting atm? |
@anthonykim1 @Tyriar thank you so much for helping out! |
Thanks for filing the issue @vladjohnson @Tyriar Yeap, this is not behind a setting atm. I'm bit surprised about this because we don't enable this for windows folks at all.
to filter out windows folks and only attach such sequence for non-windows users who use Terminal Python REPL. Now I am wondering if "win32" is not sufficient. Can you please
and print
and let me know of the value? I'm guessing we may have to handle it better for WSL. |
@anthonykim1 sure thing! The platform value is 'linux'. I am running Ubuntu 20.04 LTS in WSL 2. Thanks! |
@vladjohnson Thanks for this! So I basically need to be more through than I'll mark this as bug, and let you know once I have the fix. Thank you |
Thank you! Appreciate it, @anthonykim1 |
Hi @vladjohnson Its called
and you can toggle this off on your settings UI or modify your settings.json starting TOMORROW's pre-release version of the Python extension. Still planning to fix the root cause like I've mentioned in
But perhaps you could utilize the setting beforehand :) - Thanks again for your patience |
Thanks :) Appreciate it, @anthonykim1 |
Resolves: #23829 From testing: ![Screenshot 2024-11-14 at 11 54 44 PM](https://github.com/user-attachments/assets/18bb29a8-7fca-4989-b4e9-5796d9632151)
@vladjohnson could you try latest pre-release of Python extension? This should be resolved now |
Thank you! Will try |
Verification steps:
|
Does this issue occur when all extensions are disabled?: Yes
Hi there, I am having issues with VS Code custom sequences making their way into the Python shell. For instance: ]633;E;quit()]633;D;0]633;A>>> ]633;B]633;C. I've tried disabling the shell integration, but it does not work. Please help!
Steps to Reproduce:
python
orpython3
.The text was updated successfully, but these errors were encountered: