add ts helper function for tmux