Hacker News new | ask | show | jobs
by jeroenjanssens 2249 days ago
A great feature of tmux is that every action can be automated from the command line using commands such as split-window, resize-pane, and select-layout. With the send-keys and capture-pane commands you can even automate interacting with any process running inside tmux. The man page provides a good overview of these commands. There also exists a wrapper for Python [0] and I'm currently working on one for R [1].

[0] https://github.com/tmux-python/libtmux/

[1] https://github.com/datascienceworkshops/tmuxr