this is the only reason i use a mac and in a decade no open source linux terminal has ever implemented this to my knowledge
The control mode feature was implemented by the developer of iTerm2 for iTerm2: https://github.com/tmux/tmux/wiki/Control-Mode
I have in https://github.com/lmorg/ttyphoon
I actually don’t like control mode much though. It’s a terrible protocol. Absolutely abysmal design which leads to a plethora of edge case bugs.
At some point I’ll replace tmux control mode entirely but for the moment it solves the immediate problem.