alacritty: Block cursor dissapears when moved in zsh with zsh-syntax-highlighting plugin

When cursor shape is set to Block, it disappears when I press arrow keys to edit command in zsh. I use zsh-syntax-highlighting plugin which colors commands as I type them and I managed to find out that disabling it makes the cursor behave as expected. Other cursor shapes don’t disappear. Also, when Block cursor’s blinking is set to On - it dissapears at first but as it blinks it becomes visible again.

This didn’t happen until some update but I sadly don’t remember which one was it (mac, zsh or alacritty).

System

OS: macOS Big Sur 11.2.3 Version: alacritty 0.7.2 (5ac8060) Zsh version: zsh 5.8 (x86_64-apple-darwin20.0)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 34 (16 by maintainers)

Most upvoted comments

Thanks for your help. Now, I simply removed cursor highlighter from ZSH_HIGHLIGHT_HIGHLIGHTERS environment variable and the issue disappeared. I should have thought about it but completely forgot this exists. Sorry for the inconvenience and once again thanks for directing me to this solution.

alacritty 0.8.0-dev (1f46bb7)

The bug is still there.