Add max-height setting for Ctrl-P.