Change default and minimum terminal height

... from 25 back to 24 lines.

It was changed in #5748 (don't know why).
Merge pull request #5919 from illi-kun/patch-3

Change default and minimum terminal height