Add terminal size check