libtmux Reference MCP Search
On this page

LibTmux.TmuxDispatchState

View as Markdown

Module
LibTmux
Package
LibTmux
Source
src/LibTmux/Exceptions/TmuxDispatchState.cs
enum LibTmux.TmuxDispatchState
enum [source]
enum [source]
enum LibTmux.TmuxDispatchState

Says whether a failed command reached tmux, which is what decides if retrying is safe.

Retrying is safe only when the command never reached tmux. Unknown is the default because assuming otherwise repeats a side effect tmux already ran.

Discussed in Errors and exceptions

3 declared, 0 inherited

Members

  • Dispatched constant tmux ran the command and answered. The failure is tmux refusing or reporting an error, not the command going missing, so any side effect it had before failing has already happened.
  • NotDispatched constant The command never reached tmux, so nothing was done and a retry repeats nothing. This is the only state in which retrying is unconditionally safe.
  • Unknown constant Whether tmux acted on the command cannot be determined. Treat a retry as capable of repeating whatever the command does.
Esc

Type to search.