libtmux Reference MCP Search
On this page

libtmux::kDefaultRetainedReplyBytes

View as Markdown

Module
libtmux
Package
libtmux-cxx
Source
include/libtmux/control.hpp
kDefaultRetainedReplyBytes : std::size_t
attribute [source]
attribute [source]
kDefaultRetainedReplyBytes

How much of one reply a decoder holds, and how long a single line may grow before the stream is called broken.

A subprocess ends and gives its memory back; a connection does not, so the bound has to be in the decoder rather than in whatever reads it afterwards. The reply bound is the subprocess transport's capture limit, so the same call costs the same memory over either transport. The line bound has no subprocess equivalent: it is the point past which an unterminated line is evidence of a broken stream rather than a large answer.

0 declared, 0 inherited

Esc

Type to search.