-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
shell under Cygwin with ZSH_AUTOSUGGEST_STRATEGY=(completion) completly non responsive #497
Comments
Enabling ZSH_AUTOSUGGEST_USE_ASYNC=1 makes the prompt responsive again..Still a lag but at least it's working… |
Hey @avielsh, glad you were able to get things working. I'm planning to switch the default from sync to async in an upcoming release. Thing is that async mode has a kind of annoying bug in zsh versions less than 5.0.8, so we may need to keep sync mode around for some users since we support back to 4.3.11. I may do some smart version detection stuff and either enable async or disable it, or maybe just make it a config option to opt out. Not sure yet, but anyway... should be coming soon by default for most users. A related issue: #485 |
Thanks @ericfreese, |
I’ve created an issue to track making it enabled by default: #498 |
Describe the bug
Hi
I've noticed that using the completion feature of zsh-autosuggestions under Cygwin, makes the prompt completly unresponsive.
I'm aware of the slowness of cygwin's fork(), and using the history strategy, there's a small lag when typing , but after adding the completion option, the prompt will stop responding to any character typed.
Only solution I've found is to close the current shell and open a new one.
To Reproduce
Steps to reproduce the behavior:
% zsh -df % source path/to/zsh-autosuggestions.zsh % ZSH_AUTOSUGGEST_STRATEGY=(completion)
Expected behavior
Typing characters/commands on the prompt, should work normally (little lag is acceptable)
Desktop
The text was updated successfully, but these errors were encountered: