code: def kill_window(pymux, variables):
      " Kill all panes in the current window. "
      for pane in pymux.arrangement.get_active_window().panes:
          pymux.kill_pane(panef kill_window(pymux, variables):
      " Kill all panes in the current window. "
      for pane in pymux.arrangement.get_active_window().panes:
          pymux.kill_pane(pane)
docs: Kill all panes in the current window.