On this page
libtmux::Connection::take_notifications
- Module
- libtmux
- Declared in
- Connection
- Package
- libtmux-cxx
- Source
- include/libtmux/control.hpp
- take_notifications ( ) std::vector< Notification >
-
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_notificationsrather than polling for one.
0 declared, 0 inherited