add function to send keys to tmux