docs: def select_window(self, target_window):
          """
          Return :class:`Window` selected via ``$ tmux select-window``.
  
          Parameters
          ----------
          window : str
              ``target_window`` also 'last-window' (``-l``), 'next-window'
              (``-n``), or 'previous-window' (``-p``)
  
          Returns
          -------
          :class:`Window`
  
          Notes
          -----
          .. todo::
  
              assure ``-l``, ``-n``, ``-p`` work.
          """
  
          target = '-t%s' % target_window
  
          proc = self.cmd('select-window', target)
  
          if proc.stderr:
              raise exc.LibTmuxException(proc.stderr)
  
          return self.attached_window