Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

types.NewSessionOptions.groupWith

TypeScript
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
types
Declared in
NewSessionOptions
Package
libtmux
Source
packages/libtmux/src/types.ts
groupWith : : string
propertyreadonly [source]
propertyreadonly [source]
groupWith

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 , shellCommand and startDirectory describe a first window, and a grouped session does not make one, so tmux ignores them here.

0 declared, 0 inherited

Esc

Type to search.