tmux offers a control mode that allows a terminal emulator to issues commands and react to events happening in a tmux server through the terminal input/output streams.
This issue tracks adding support for this control mode such that it is treated as a multiplexer domain within wezterm, allowing wezterm to connect to a tmux instance and render native windows, tabs and panes for the "remote" tmux session(s).
The basics:
For a well integrated feature:
tmux offers a control mode that allows a terminal emulator to issues commands and react to events happening in a tmux server through the terminal input/output streams.
This issue tracks adding support for this control mode such that it is treated as a multiplexer domain within wezterm, allowing wezterm to connect to a tmux instance and render native windows, tabs and panes for the "remote" tmux session(s).
The basics:
tmux -CC attachattaches a domain to the tmux serverESC k <title> ESC \\title sequenceFor a well integrated feature:
tmux -CC attachpane. iTerm2 "buries" the hosting session, rendering it invisible while the tmux stuff is active. Right now wezterm prints a banner that says how to exit the session and leaves it in placeunix_domainsto specify favorite tmux sessions to attach to, optionally with an ssh bootstrap, so that it is simple to do something likewezterm connect tmux-on-my-remote-serverto have it ssh in and reconnect the windows/tabs/panes in a single step