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

tmuxtest.PTYProcess.Write

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
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.