Adjust terminal size.