Use python stdlib to query terminal size. (#2455)
Use python stdlib to query terminal size. (#2455)

* Use python stdlib to query terminal size.

* Lint.
facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI