Check terminal size