Scrolling is disabled all of a sudden in terminal
Perhaps you ran a subshell from an editor, and it left the terminal in the alternate screen. You can test that by
tput rmcup
which would return to the normal display.
While in the alternate screen, some terminals may override the scroll-wheel action by sending up/down cursor escapes.