resize terminals on window resize