Updated terminal_size to use struct and look for alternatives
Updated pprint to reflect changes in terminal_size()