sjbach/lusty — pull request #76 by pygatea (2012-06-24 19:15:57+00:00)
Title: Don't resize $curwin when setting max window height

This should fix the problem reported in Issue #52, where the bottom-most of 2 or more horizontal splits is resized to fit the whole screen minus 1 line for each of the splits above it. It seems like the issue was simple that the calculation of the max window height was setting the current window size to the max size. I dropped all of the variable shuffling in `Display.max_height` and simple set it to `VIM::MOST_POSITIVE_INTEGER` outright. I don't think this should be a problem, unless you were doing `Display.max_height` to do something other than I expect.

Sorry it took me so long to do this, I didn't have a chance to look at it until a few minutes ago.

Cheers!