Is there any way I can control a tmux server and send commands to it like switching to a specific window in a session, or make some queries about the panes through the socket it creates?
I've looked into libtmux for python and it appears to be lacking in some ways. Is there an official reference for the tmux api where I could look? The official tmux package on my distro contains only a single tmux binary.
Is there any way other than reading the source to find out how one can control tmux through its socket? Are there any other terminal multiplexers which make it easy/ are intended to make it easy?