libtmux Reference MCP Search
On this page

control.protocol.read_line_within

View as Markdown

Module
control.protocol
Package
libtmux
Source
crates/libtmux/src/control/protocol.rs
read_line_within ( stdout : &mut R , pending : &mut Vec<u8> , limit : usize , within : Option<u64> ) Result<Option<Line>, Error>
function [source]
function [source]
read_line_within

Read one line, classifying it for the block it arrived in.

within names the open block, if any. tmux(1) guarantees a notification never appears inside an output block, so every line but its own terminator is command output -- including one that looks like a notification, which is what list-panes -F '#{pane_id}' produces for every row.

0 declared, 0 inherited

Esc

Type to search.