Update terminal settings.