You will get the following
[Process completed] message when exiting the session in
Terminal for macOS and will then have to manually close the
Terminal windows afterwards.
Saving session...completed. Deleting expired sessions...none found. [Process completed]
Follow these steps to avoid the message and automatically close the
Terminal window or tab when exiting the session: