libtmux Reference MCP Search
On this page

LibTmux.Internal.TmuxCommandContext

View as Markdown

Module
LibTmux.Internal
Package
LibTmux
Source
src/LibTmux/Diagnostics/TmuxLog.cs
class LibTmux.Internal.TmuxCommandContext
class [source]
class [source]
class LibTmux.Internal.TmuxCommandContext

Carries the logger a run of tmux commands is recorded through.

Every tmux command a caller makes passes through one dispatcher, so what it records is decided once here rather than at each of the hundreds of call sites. Holding the logger alongside the socket it belongs to also keeps two servers in one process from writing each other's history.

3 declared, 0 inherited

Members

  • TmuxCommandContext method
  • Logger property Gets the logger tmux commands are recorded through.
  • Socket property Gets the socket the commands are sent to, when one is named.
Esc

Type to search.