libtmux Reference MCP Search
On this page

tmuxtest.PTYProcess.Write

View as Markdown

Module
tmuxtest
Declared in
PTYProcess
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/tmuxtest/pty_process.go
Write ( ctx : context.Context , input : []byte ) (int, error)
method [source]
method [source]
Write

Write sends terminal input to the subprocess within ctx. Writes are serialized and can be partial. A waiting caller may cancel before acquiring the writer, and an active write observes ctx cancellation.

0 declared, 0 inherited

Esc

Type to search.