3 ms·
I was wondering about this, is there a tmux API that is not command-line? A way to access the tmux socket directly? I would rather not multiply the number of t
by remram 2y ago
I was wondering about this, is there a tmux API that is not command-line? A way to access the tmux socket directly?
I would rather not multiply the number of tools I use, even though ht might be more appropriate in a clean-room environment.
- TickleSteve 2y agolibtmux https://github.com/tmux-python/libtmux https://github.com/tmux-python/libtmux
- andyk 2y agoOh this is cool. I looked at using tmux before we built ht because I’ve used screen and tmux forever. I didn’t find libtmux though. Will def check it out.
- remram 2y agoThis is a cool wrapper, but it calls tmux on the command line. I'm really confused as to why the tmux protocol can't be used directly, and entirely different systems like ht have to be created.
- jeroenjanssens 2y agoI've created tmuxr, an R package to manage tmux [0]. [0] https://github.com/jeroenjanssens/tmuxr https://github.com/jeroenjanssens/tmuxr