Core LibraryAPI Reference

Choose documentation 3

Concept and alpha: example support scope and release maturity.

v0.1.0.alpha.2

Current version

v0.1.0.alpha.2
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-ruby v0.1.0.alpha.2

ControlSubscription.diagnostics

Module LibTmux::ControlSubscription#diagnostics LibTmux

Returns frozen local buffer state. A reliable overflow keeps its prefix readable; explicit close discards the prefix and pending loss report.

Source and package
Module
LibTmux
Declared in
ControlSubscription
Package
libtmux
Source
gems/libtmux/lib/libtmux/control.rb
def diagnostics: () -> { queued_events: ::Integer, retained_event_bytes: ::Integer, gap_pending: bool, overflowed: bool, closed: bool, mode: :reliable | :tail, limits: { max_bytes: ::Integer, max_events: ::Integer } }

Description#

Behavior contract: Diagnostics.

Esc

Type to search.

Reference preview Open reference