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

tmuxtest.NewControlMode

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

View as Markdown

Module
tmuxtest
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/tmuxtest/control.go
NewControlMode ( ctx : context.Context , t : testing.TB , server : tmux.Server , session : tmux.Session ) → *ControlMode
function [source]
function [source]
NewControlMode

NewControlMode starts a ControlMode attached to session and registers cleanup with t. It requires an explicitly configured process environment and validates that session belongs to server. The client pins the server's frozen effective socket path. Validation or startup failures call testing.TB.Fatal. ctx bounds startup and registration only, not the returned client's lifetime.

0 declared, 0 inherited

Esc

Type to search.