-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
Git bash slow since last update #214407
Comments
It's so true that Git Bash is slow. I tried the external terminal, which is as expected but the integrated terminal is slow. |
I just saw that settings "terminal.integrated.shellIntegration.enabled" to false fix the issue. |
@xGeekoo For the current situation the setting as mentioned above works well. Thanks! |
Also, there is another issue, some characters have being attached to python venv's name, just like below. x1b[36m\x1b[0m\x0d\x0a$ \x1b]633\x3bB\x07(prostarlette) |
It added some unnecessary features, it's just fine using version 1.88.1, and turn off the update. |
I have the same issue - and "terminal.integrated.shellIntegration.enabled" seems to fix it. Just wondering what other implications disabling that feature may have? |
This fixed it for me. My git bash was also displaying strange text and a line break before my "username@computer ~/folders/..." prompt |
/duplicate #212090 |
Thanks to @nbrinks, disable "shell integration" make git-bash faster! |
god.. thank you this saved me.
|
Unfortunately didn't work for me. |
make sure you click the delete / trash icon on the terminal and create a new one, hopefully that helps. |
Setting wouldnt save the first time had to do it a few times before it saved using the GUI, then restarted and it's back to normal. |
wow |
It seems that whatever VCS is doing when wrapping Bash terminal is detected as suspicious activity by my antivirus. |
Thank you very much for the contribution, it worked for me, it was already giving me a headache because it took a long time to execute the code and print the message "b[0m\x0d\x0a$" at the end of it. |
"terminal.integrated.shellIntegration.enabled" |
Oh lord, |
|
@xGeekoo Thanks! The |
Thanks to @nbrinks for the fix. Now Git Bash works as it should in your Windows version |
@hitrust I was having the same issue, in node.js repository. It seems to be kind of a "leak" of characters related to the coloration of the current branch name. That was fixed just disabling the |
well for me still the same 😢 |
I noticed that during these 5 second waits for the prompt, the Windows Defender CPU usage spikes. So, I wonder if Windows Defender exacerbates or causes the issue. I can't test that as I can't turn Defender off on my company laptop. |
Thank you!! it works for me! |
thanks, it worked for me too. |
|
@hugotannus |
Thanks everyone here, this issue was annoying me for 2 weeks time, the suggestion by @xGeekoo and everyone helped me as well. |
Yep, i have the issue as well. The proposed fix solved some of it, but it's still about 50% as fast as it was before |
Type: Performance Issue
Since the last update, the integrated git bash terminal inside vscode have a high latency (around 5 seconds) after initialize it or running a command
Disabling all extension, removing settings and reinstalling git bash didn't fix the issue
VS Code version: Code 1.90.0 (89de5a8, 2024-06-04T19:33:54.889Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Process Info
Workspace Info
Extensions (12)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: