Closed sdondley closed 2 years ago
OK, I turned off the focus-events setting in my tmux config. This seems to have done the trick. The cursor also no longer pops up on the screen when I move between panes like it used to. This doesn't look like a tmux navigator issue.
Out of the blue, a left click event is somehow getting triggered when using tmux navigator to switch between panes. This is happening in both iterm and the stock terminal app on my mac. It's super annoying and is causing neovim to throw spurious errors when switching between panes.
Here's the weird part: it only happens if I hold the ctrl key down for an extended length of time. If I quickly release the ctrl key, I can't trigger the problem. Also, the problem is intermittent. It only happens maybe half the time.
I've ruled out neovim as the problem because it happens when I'm not using. It has to be something in tmux and the the tmux navigator plugin. But I have no idea why it has only started happening now. I didn't change anything that I'm aware of.