code: def switch_window(self, window_id: int):
      
  
      # windows are numbered sequentially 0, 1, 2, ...
      # create any missing windows and make them point to the same directory
      if window_id not in self.tmux_available_window_ids:
        for i in range(max(self.tmux_available_window_ids) + 1, window_id + 1):
          self._run_raw(f'tmux new-window -t {self.tmux_session} -d')
          self.tmux_available_window_ids.append(i)
  
      self.tmux_window_id = window_id
docs: Switches currently active tmux window for given task. 0 is the default window
      Args:
        window_id: integer id of tmux window to use