If i have a tmux session called Test, and inside Test i have two windows Test1 and Test2. How do i send a command to say Test2.
tmux send-keys -t Test.Test2 "STUFF HERE" wont work. that syntax is for panes only
If i have a tmux session called Test, and inside Test i have two windows Test1 and Test2. How do i send a command to say Test2.
tmux send-keys -t Test.Test2 "STUFF HERE" wont work. that syntax is for panes only
Unbelievable. I searched everywhere for an answer on the web and I could not find it. Apparently it is just:
tmux send-keys -t Test:Test1 "TEST" C-m
tmux send-keys -t {session}:{window}.{pane}
, so tmux send-keys -t Test:Test1.1 "TEST" C-m
would send that to the first pane.
Jul 9, 2020 at 4:48