libtmux Reference MCP Search
On this page

LibTmux.IControlModeSession

View as Markdown

Module
LibTmux
Package
LibTmux
Source
src/LibTmux/ControlMode/IControlModeSession.cs
interface LibTmux.IControlModeSession
interface [source]
interface [source]
interface LibTmux.IControlModeSession

A live tmux control client.

One-shot commands start a tmux client, run one thing, and exit. A control session keeps one client for as long as it is held, which is what makes tmux willing to report what happens while nobody asked: pane output, windows appearing, sessions changing.

Disposing ends the client. Everything a caller reads comes through Events , which completes after a normal exit and faults after buffered events when the control stream fails.

3 declared, 0 inherited

Members

  • SendAsync method Runs one command on this client and reads what it answered.
  • Events property Reads what tmux reports for as long as the client runs.
  • IsRunning property Gets whether the client is still running.
Esc

Type to search.