set terminal size if nlines and ncols are set