Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JetBrains IDE embedded terminal cursor disappears while using arrow keys (<- and ->)

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. =(

like image 724
wiesson Avatar asked Oct 09 '17 09:10

wiesson


1 Answers

I disabled the cursor highlighter and now it works!

.zpreztorc

zstyle ':prezto:module:syntax-highlighting' highlighters \
   'main' \
   'brackets' \
   'pattern' \
   'line' \
   'cursor' \ <-- removed
   'root'
like image 199
wiesson Avatar answered Oct 11 '22 14:10

wiesson