Updating terminal settings.