Sometimes whenever I use my mouse to scroll on iTerm2 the scrolling does not work, instead printing a lot of garbage characters on the screen.
This happens very inconsistently. Sometimes it happens abruptly, and sometimes it doesn't happen for months. At first I thought it is just a bug, but it even happens just after I restart my machine, and also I could not find other people experience this problem that much on the web. So maybe something is wrong with my environment...
This does not happen on Mac's default Terminal and happens on various Macs I have. Also, quitting and launching the app again does not solve the problem.
What is the potential reason of this behavior and how can I fix it? I use Big Sur 11.0.1 but it happened on other macOS in the past. iTerm2 is 3.4.3.