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

Suggestions are not being cleared after not accepting #746

Open
Allaman opened this issue Jun 25, 2023 · 0 comments
Open

Suggestions are not being cleared after not accepting #746

Allaman opened this issue Jun 25, 2023 · 0 comments
Labels

Comments

@Allaman
Copy link

Allaman commented Jun 25, 2023

Describe the bug

The auto-suggested text is not distinguishable if not being accepted.
For instance, in the following screenshot, I entered cd temp<CR> and afterward cd<CR>. Before hitting CR in the last command, I could see "temp" in a dark gray color. As I didn't accept the suggestion, my expectation would be that the suggestion stays displayed in the same dark gray color on my terminal, which I am quite sure was the case some time ago.
image

Unfortunately, I had a hard time creating a reproducible minimal demo. What I recognized is, that the behavior is correct when I remove either of these lines from my config:

  • source $HOME/.shell/fast-syntax-Highlighting/fast-syntax-highlighting.plugin.zsh
  • ZSH_AUTOSUGGEST_CLEAR_WIDGETS+=(history-beginning-search-backward-end history-beginning-search-forward-end)

I am also aware of this issue and that issue. I played around with different style configurations and installed zsh 5.9 as well. No success.

The issue also occurs on kitty and alacritty and on my NixOS box. This drives me nuts, and I have a very hard time to tackle this down.

Any help or hint is much appreciated!

For reference – my config:

Desktop

  • OS + distribution: macOS 12.6 (Apple Silicone)
  • Zsh version: 5.8.1
  • Plugin version: a411ef3 (0.7.0
@Allaman Allaman added the bug label Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant