[terminal] How do I find the width & height of a terminal window?