libtmux Reference MCP Search
On this page

tmuxtest.ControlMode.Read

View as Markdown

Module
tmuxtest
Declared in
ControlMode
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/tmuxtest/control.go
Read ( ctx : context.Context , data : []byte ) (int, error)
method [source]
method [source]
Read

Read reads control-protocol output within ctx. Exactly one caller may read at a time. After the client exits, callers may drain preserved output through io.EOF; after ControlMode.Close , a non-empty Read returns os.ErrClosed. It returns ctx errors while waiting for output.

0 declared, 0 inherited

Esc

Type to search.