Delay calling get_default_terminal() for as long as possible.