Table of Contents

Class FormatContext

Namespace
WTmux.Core.Plugins
Assembly
WTmux.Core.dll

Context provided to format variable providers.

public sealed class FormatContext
Inheritance
object
FormatContext

Constructors

FormatContext()

public FormatContext()

Properties

Host

Host (machine) name.

public string Host { get; init; }

Property Value

string

PaneCurrentPath

Active pane current working directory (from the shell's OSC 7/OSC 9;9 reports).

public string PaneCurrentPath { get; init; }

Property Value

string

PaneIndex

Pane index.

public int PaneIndex { get; init; }

Property Value

int

PanePid

Active pane process ID.

public int PanePid { get; init; }

Property Value

int

PaneTitle

Active pane title.

public string PaneTitle { get; init; }

Property Value

string

PrefixActive

Whether the prefix key is currently active.

public bool PrefixActive { get; init; }

Property Value

bool

SessionName

Session name.

public required string SessionName { get; init; }

Property Value

string

SessionWindows

Number of windows in the session.

public int SessionWindows { get; init; }

Property Value

int

WindowActivity

Most recent activity timestamp text for the window, when tracked.

public string WindowActivity { get; init; }

Property Value

string

WindowFlags

Active window flags (tmux-style: *, -, #, !, ~, Z).

public string WindowFlags { get; init; }

Property Value

string

WindowIndex

Window index.

public int WindowIndex { get; init; }

Property Value

int

WindowName

Window name.

public string WindowName { get; init; }

Property Value

string