On this page
tmux.AttachSessionOptions
- Module
- tmux
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/server_attach.go
-
AttachSessionOptions configures terminal ownership and attach behavior shared by server- and session-scoped attachment. Nil StartDirectory omits its flag and a nonnil empty string is explicit; ClientFlags is copied. The Stdin, Stdout, and Stderr pointers are retained for the attach call and are never owned or closed by this package.
9 declared, 0 inherited
Members
- ClientFlags attribute ClientFlags are comma-joined client flags copied before attachment starts.
- DetachOthers attribute DetachOthers disconnects other clients attached to the target session.
- DetachParent attribute DetachParent detaches the invoking client from its parent session first.
- NoUpdateEnvironment attribute NoUpdateEnvironment preserves the invoking client's environment.
- ReadOnly attribute ReadOnly attaches the client with read-only permissions.
- StartDirectory attribute StartDirectory selects the attached client's initial directory.
- Stderr attribute Stderr is the attached tmux client's error stream; nil inherits process stderr.
- Stdin attribute Stdin is the attached tmux client's input stream; nil inherits process stdin.
- Stdout attribute Stdout is the attached tmux client's output stream; nil inherits process stdout.