Change default and minimum terminal height

... from 25 back to 24 lines.

It was changed in #5748 (and I don't know why).