I want to have a pane with asciinema "video" (literally it's animated plain text) playing while in another pane the user can be doing miscellaneous stuff (typing commands, writing scripts, or whatever). The user can switch to the asciinema pane and hit < space > key to pause/play the video. I'd like to watch that pane and when the user pauses/plays the recording to then run tmux send-keys
to pause/play an mp3 file that's playing in cmus in another window.
I haven't been able to find anything like tmux watch-pane
or tmux listen
. Does something like that exist? For this use case it'd need to distinguish between spaces being entered via asciinema and actual button presses by the user.
I'm using tmux 2.1
, and don't see anything about watch
or listen
in the man page. But maybe in a newer version there are commands provided?