title: tmux: Automatically hide pane on focus loss
body: <p>I'd like to automatically hide a tmux pane as soon as it looses focus. Currently, I use 'Prefix+z' to manually maximize the current pane, hiding the unfocused pane. However, whenever I require to switch a little more often between panes, it becomes cumbersome to manually maximize. Is there a way to automatically hide unfocused panes?</p>
  
  <p>I know this question exists: <a href="https://stackoverflow.com/questions/42790781/tmux-auto-hide-panel-when-it-loses-focus">Tmux: Auto-hide panel when it loses focus</a>
  However, it does not answer my question.</p>