Refining terminal config.