https://stackoverflow.com/questions/35104992/is-it-possible-to-see-a-log-or-history-of-previous-iterm2-sessions#:~:text=To%20activate%20the%20session%20logs,be%20saved%20in%20the%20future.