What I found was odd. If I tried a 1-line window, it would always give me a 10-line window instead. I could do a 2-line window, but nothing shorter.
I found the problem in window.h, and modified a duplicate copy for my purpose. But, I thought I'd shared this. I don't know if it intentionally doesn't support a 1-line window, but here's what I did to change it:
Code: Select all
height = self.win_bottom - self.win_top
!!!MPS 06/01/2005 - increment first, to support 1-line windows.
!if height++ = 0: height = 10
if ++height <= 0: height = 10
if self.win_title: height++