Ensure the terminal global is always set