5

I'm using zsh/prezto with syntax-highlighting plugin. When I use the arrow keys to navigate within the terminal command, the cursor disappears in the embedded terminal and blinks/flashes every ~second.

Here is an example (gif):

enter cursor disappears

It does not happen within Terminal.app or iterm. If I disable syntax-highlighting within .zpreztorc it works like expected. =(

LazyOne
  • 158,824
  • 45
  • 388
  • 391
wiesson
  • 6,544
  • 5
  • 40
  • 68

1 Answers1

4

I disabled the cursor highlighter and now it works!

.zpreztorc

zstyle ':prezto:module:syntax-highlighting' highlighters \
   'main' \
   'brackets' \
   'pattern' \
   'line' \
   'cursor' \ <-- removed
   'root'
wiesson
  • 6,544
  • 5
  • 40
  • 68
  • 1
    Holy f*ck, this was annoying me for months, if not years, and I did not find out the reason... Feels like a huge burden is gone now... – hoeni Jul 05 '21 at 13:54