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.

class libtmux-cxx latest

NotificationRange

Everything tmux says, until the deadline, as one loop.

Source and package
Qualified name
libtmux::NotificationRange
Namespace
libtmux
Package
libtmux-cxx
Source
include/libtmux/control.hpp
class libtmux::NotificationRange

Description#

Draining by hand is two nested loops and a break: ask for a batch, stop if it is empty, walk it, ask again. That shape was written six times across this repository's own tests and examples before this existed, which is the argument for it.

An input range, single pass. A ParsedNotification views the notification it was read from, and this owns that notification only until the iterator advances — so copy what you need out of one before asking for the next.

Members3#

Esc

Type to search.

Reference previewOpen reference