Tmux. Sending keys to a specific window

tmux

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

Best Answer

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