in reply to unable to get term size error
This Unable to get terminal size seems to discuss a solution to that problem