Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

libtmux::CommandReport

C++
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++
  • Swift Unavailable

View as Markdown

Module
libtmux
Package
libtmux-cxx
Source
include/libtmux/command.hpp
struct libtmux::CommandReport
struct [source]
struct [source]
struct libtmux::CommandReport

Told about every command, as it finishes.

There is otherwise no way to see what this library ran: a caller debugging a tmux interaction has only the failures, and nothing at all when things succeed. The command is rendered as tmux received it, with any argument marked sensitive replaced.

Synchronous calls invoke it on their caller's thread. Asynchronous calls invoke it only on the thread calling CommandRuntime::dispatch_ready . No internal lock is held; a shared observer must synchronise itself.

4 declared, 0 inherited

Members

  • argv attribute The same command unrendered, for a caller building structured telemetry rather than a line of text.
  • command attribute As tmux received it, with any argument marked sensitive replaced.
  • elapsed attribute How long the command took, measured around its dispatch.
  • failure attribute Nothing when the command succeeded.
Esc

Type to search.