I'm using tmux iterm2 integration, and I want to display the "tab title" on iterm2 status bar. My idea is to use the interpolated string corresponding to this "tab title" in the status bar configuration, but I cannot find such a variable in iterms2 wiki page.
The reason is that when I do split pane, I still want to display this tab title on the status bar, rather than the session name which is automatically reset. I tried (name), which is the session name, but the status bar changes when I split pane. I also tried (title), but nothing is displayed in the status bar. It may have something to do with that I didn't successfully set a tmux title, but I don't know how to set tmux title in this integration since the prefix (e.g. Ctrl + b) no longer works.