iTerm2 mouse reporting outputting symbols

808 Views Asked by At

Sometimes, for a reason I don't understand, mouse reporting prints those characters in the console uppon scolling clicking etc.

If I disable then re-enable mouse reporting then scrolling and clicking comes back as expected.

How do I debug the source of this "switch"? I don't even know where to start to understand what might happen in my console for this so happen.

enter image description here

local (remote) setup: zsh 5.7.1 (5.4.2) + oh-my-zsh (latest as of today)

2

There are 2 best solutions below

0
On BEST ANSWER

I have not been able to figure out what triggered this weird behaviour but 2 simple simple fixes are

  • turn on/off mouse reporting in the preferences
  • re-source ~/.zshrc
0
On

Just press cmd+R. It fixed the problem for me