added examples of getting the terminal size