libtmux Reference MCP Search
On this page

libtmux::Connection::take_notifications

View as Markdown

Module
libtmux
Declared in
Connection
Package
libtmux-cxx
Source
include/libtmux/control.hpp
take_notifications ( ) std::vector< Notification >
method [source]
method [source]
take_notifications

Every outside-block event tmux has written since the last call.

Taking drains: what comes back will not come back again. It says nothing about what happens next, so an empty result does not mean the stream has gone quiet, and a later one is new traffic rather than a repeat. Wait for the next event with wait_for_notifications rather than polling for one.

0 declared, 0 inherited

Esc

Type to search.