Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

interface libtmux-dotnet

IControlModeSession

A live tmux control client.

Source and package
Qualified name
LibTmux.IControlModeSession
Namespace
LibTmux
Package
LibTmux
Source
src/LibTmux/ControlMode/IControlModeSession.cs
interface LibTmux.IControlModeSession

Description

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.

Members3 members

Esc
Search in

Type to search.

Reference previewOpen reference