Mouse Scroll Escape Codes in Terminal

Very rarely I lose the ability to scroll in a terminal window, and when I try, the escape code 65;70;7M is printed constantly instead.

There’s a quick way to fix this, and that’s to simply run reset to reset the terminal window, and you’ll be back to normal.

More can be read here: Scrolling is disabled all of a sudden in terminal - Unix & Linux Stack Exchange