def switch_client(self, target_session):
        """``$ tmux switch-client``.

        :param: target_session: str. name of the session. fnmatch(3) works.

        """

        proc = self.cmd('switch-client', '-t%s' % target_session)

        if proc.stderr:
            raise exc.TmuxpException(proc.stderr)
dataset/ETHPy150Open tony/tmuxp/tmuxp/server.py/Server.switch_client/original