The passthrough escape sequence is no longer necessary for changing the
cursor colour or style as tmux now has its own support (see the Cs, Cr,
Ss and Se capabilities).
This commit checks whether the allow-passthrough is set, and uses it; otherwise, no wrapping is performed.
As of tmux 3.3a, the
allow-passthrough
option is off by default. Further, as mentioned in https://github.com/tmux/tmux/wiki/FAQ:This commit checks whether the
allow-passthrough
is set, and uses it; otherwise, no wrapping is performed.