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

[bug]: very slow in zsh(msys) on windows (not wsl) #75

Open
BlockLune opened this issue Oct 9, 2024 · 1 comment
Open

[bug]: very slow in zsh(msys) on windows (not wsl) #75

BlockLune opened this issue Oct 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@BlockLune
Copy link

Describe the bug

I'm using Zsh (based on the Git bash) on Windows and I'm using this plugin. In most cases it works fine. However, when it comes to switching git branches, it becomes super slow. You can see the recordings below. After pressing the m key on the keyboard, I waited about 100 milliseconds for it to show up on the screen, and it did so for every letter in the rest of ian after that. Using the backspace key to delete does the same thing.

Steps to reproduce

  1. Follow this to install zsh in windows git bash
  2. cd to a git repo and try to git checkout

Expected behavior

It should be as fast as when I type any other command.

Screenshots and recordings

very-slow-demo.webm

Operating System & Version

msys | pc | x86_64 | x86_64 | x86_64 unknown

Zsh version

zsh 5.9 (x86_64-pc-msys)

Terminal emulator

xterm-256color (Windows Terminal)

If using WSL on Windows, which version of WSL

None

Additional context

No response

@BlockLune BlockLune added the bug Something isn't working label Oct 9, 2024
@AnabasisXu
Copy link

On Cygwin, it is mostly fine. But when it comes to awk, then it got super slow, leading to delay in typing.

Simple to reproduce:

awk '{print hello}' 1.txt

The slowness will appear when typing within the {}, so print will be prnt under normal typing speed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants