Variable: window-safe-min-height

The absolute minimum number of lines of a window.
Anything less might crash Emacs.