Lately whenever I run psql queries in my terminal it clears the screen and adds a bunch of blank space. I feel like this has started happening since I upgraded to Fedora 36 but am not sure.
I am trying to get it back to normal and just output the query result like any other command you run, by just appending the result after my last command
Found the answer
I had the pager turned on and I was able to use the \pset pager
command to turn it off.