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

LibTmux.IControlModeSession

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

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

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

Type to search.