Make sure Terminal#init is called once.