Connection.watch_notifications
Open an independent cursor at the next outside-block event.
Source and package
- Qualified name
-
libtmux::Connection:: watch _notifications - Namespace
- libtmux
- Declared in
Connection- Package
- libtmux-cxx
- Source
- include/libtmux/control.hpp
- [[
C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.]] NotificationWatch watch_notifications(); -
Description#
Unlike the legacy taking methods above, watches do not steal events from each other.