In psql, I want to go back up a line and edit my SQL from the line above. How would I accomplish this? I tried the up arrow to no avail. My only recourse is to exit psql and jump back in. 
For some context:
I want to go back to the line above and change SET dw1 = TRUE
I am ssh'd into the server using gitbash for windows