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

class libtmux-dotnet

TmuxExitEvent

The control client ended.

Source and package
Qualified name
LibTmux.TmuxExitEvent
Namespace
LibTmux
Package
LibTmux
Source
src/LibTmux/ControlMode/TmuxEvent.cs
public sealed record TmuxExitEvent(string? Reason) : TmuxEvent;

Description

This is always the last event, and the event stream completes after it.

Parameters
  • Reason (string?) – Why tmux said it ended, when it said anything. It is silent for an ordinary exit. For an abnormal one tmux sometimes names a reason and sometimes does not: a server another client killed, for one, sends a bare %exit with none. A null Reason can also mean the reason exceeded the event buffer's byte limit; a preceding dropped-event notice reports that loss.

Properties1 properties

TmuxExitEvent properties
NameTypeDescription
Reason string? Why tmux said it ended, when it said anything. It is silent for an ordinary exit. For an abnormal one tmux sometimes names a reason and sometimes does not: a server another client killed, for one, sends a bare %exit with none. A null Reason can also mean the reason exceeded the event buffer's byte limit; a preceding dropped-event notice reports that loss.
Esc
Search in

Type to search.

Reference previewOpen reference