Core LibraryalphaAPI 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.

struct libtmux-cxx latest

CommandReport

Told about every command, as it finishes.

Source and package
Qualified name
libtmux::CommandReport
Namespace
libtmux
Package
libtmux-cxx
Source
include/libtmux/command.hpp
struct libtmux::CommandReport

Description#

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.

Members4#

Esc

Type to search.

Reference previewOpen reference