Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

function LibTmux.jl latest

observe_output

Module LibTmux.observe_output LibTmux
Source and package
Module
LibTmux
Package
LibTmux
Source
src/observation.jl

Methods#

observe_output(f, connection::LibTmux.ControlConnection, args...; kwargs...)[source]#

observe_output( connection::LibTmux.ControlConnection, pane::LibTmux.PaneRef; timeout, cancel, kwargs... )[source]#

Observe raw future pane bytes, not screen images or command completion. The pane must belong to the attached session. Registration precedes enabling output on the request lane; its readiness fence does not reconstruct earlier bytes. Output stays enabled until connection close. Topology changes and tmux pauses require a new baseline; no contiguous-history claim survives them.

observe_output(connection, pane; capacity=64, max_bytes=1048576, after=nothing,
timeout=5.0, cancel=nothing)

Discussed in Observe pane output · Observing output

Esc

Type to search.

Reference preview Open reference