Macos – Why does iTerm paste when I left click in the terminal

iterm2macosmouseterminal

Every so often I come back to a iTerm2 (v3.1.6) terminal window and for whatever reason when I left click anywhere in the window it will paste whatever is on my clipboard. This has happened many times now (10+)

This appears to be similar to how the middle mouse button works, but for the left mouse button.

Additionally, I am unable to select any text and the middle mouse button does not paste while this is happening.

The only way I can disable this functionality is to close the window and open a new one.

I am using macOS High Sierra (10.13.3)

Best Answer

I was able to fix this issue by disabling "Three finger tap emulates middle click".

I verified by waiting until the issue came up again and then disabling the feature which fixed the issue and didn't require me to restart the session. Im not sure why it starts to register single taps as three finger taps.