I commented on the work involved in getting a terminal window’s size, focusing on the implementation of getWindowSize().
I said that the main substance in getWindowSize() is mostly an ioctl() call.
I addressed @mitsuhiko in this reply.
My sentence about the “juice” is grammatically incomplete, so its intended meaning is uncertain.