On this page
types.NewSessionOptions.groupWith
- Module
- types
- Declared in
- NewSessionOptions
- Package
- @libtmux/libtmux
- Source
- packages/libtmux/src/types.ts
-
Share another session's windows, tmux's
-t.Names a session to group with, not a group: tmux puts the new session in that session's group, or starts one named for it. Members share one window list, so a window created in either appears in both and a window moved in either moves in both — unlike a linked window, where each session keeps its own list and its own index for it.
The group a session ended up in is
Session.group.windowName,shellCommandandstartDirectorydescribe a first window, and a grouped session does not make one, so tmux ignores them here.
0 declared, 0 inherited