zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
31.1k stars 1.86k forks source link

Cursor color is muted during the suggestion #799

Open shinebayar-g opened 1 month ago

shinebayar-g commented 1 month ago

Describe the bug

I noticed that my cursor color is alternating between white to grey (using the same color as ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE) when it's suggesting autocompletion.

To Reproduce

Steps to reproduce the behavior:

# install oh my zsh
# install zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# add to the plugins
plugins=( 
    # other plugins...
    zsh-autosuggestions
)

Expected behavior

I think it should stay white all the time?

Screenshots

image

image

image

Desktop

Additional context

Tested without external prompt, no luck.

❯ echo $TERM       
xterm-256color