updateTerminalSize

Query the terminal for its current size, updating width and height if successful.

Return

true if the terminal size was queried successfully (even if the size hasn't changed), or false if the size could not be determined.