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

tmuxtest.ControlMode.Read

Go
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

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.