Get terminal size for captcha display