Skip to main content
Notice removed Authoritative reference needed by saga
Bounty Ended with alphanum's answer chosen by saga
Tweeted twitter.com/StackUnix/status/985862657231278082
Notice added Authoritative reference needed by saga
Bounty Started worth 50 reputation by saga
added 426 characters in body; edited title
Source Link
saga
  • 1.4k
  • 14
  • 36

Controlling tmux through socket api

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?

Controlling tmux through socket

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 through the socket it creates?

tmux socket api

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?

Source Link
saga
  • 1.4k
  • 14
  • 36

Controlling tmux through socket

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 through the socket it creates?