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
Ghost text appearing after pasting another text #766
Comments
I have the same issue on openSUSE Tumbleweed with GNOME. |
this is a known issue of ZSH, usually it can be fixed by setting the echo "export LANG=en_US.UTF-8" >> .zshenv
echo "export LC_ALL=en_US.UTF-8" >> .zshenv |
This doesn't fix the issue for me with autosuggestions c3d4e57 and zsh 5.9 (x86_64-pc-msys) in Windows Terminal ghost_text.mp4EDIT: I was able to fix this bug by removing "completion" as an autosuggest strategy in my .zshrc - ZSH_AUTOSUGGEST_STRATEGY=(match_prev_cmd history completion)
+ ZSH_AUTOSUGGEST_STRATEGY=(match_prev_cmd history) |
Have you relaunch your terminal after this? |
Yes, I relaunched after removing "completion" and the ghost text is gone now. So it is something not working with the "completion" strategy, for me at least. |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
When pasting any text after a command, a ghost text (last match) on right appears when pressing the left-arrow key, this ghost text stays there till I press any key like backspace key.
output-2023-11-02_11.44.21.mp4
Expected behavior
No ghost text displaying
Screenshots
Desktop
Additional context
The text was updated successfully, but these errors were encountered: