libtmux Reference MCP Search
On this page

control.protocol.read_line

View as Markdown

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

Read and classify one protocol line.

pending carries a line across calls. read_until appends what it read before it was cancelled, which is what makes this usable in select! -- read_line would lose those bytes, and would also reject the pane output that is not UTF-8.

0 declared, 0 inherited

Esc

Type to search.