tmux-cli — Terminal Automation (opens in new tab)
tmux-cli is a command-line tool for controlling CLI applications running in tmux panes and windows. It automatically detects whether you are inside or outside tmux and uses the appropriate mode.
Read the original article