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

control.ControlMode

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

View as Markdown

Module
control
Package
libtmux
Source
crates/libtmux/src/control.rs
struct control.ControlMode
structoverload [source]
structoverload [source]
struct control.ControlMode

One control-mode connection to a tmux server.

Sending and receiving are separate handles, reachable through split . That is not decoration: the point of control mode is to act on what you observe, and a single object would need &mut for both, so a task awaiting an event could never send the command that event implies.

7 declared, 0 inherited

Members

  • attach method Attach to a session in control mode.
  • attach_with_limits method Attach with explicit frame budgets.
  • next_event method Return the next notification or terminal error, then None.
  • reply_timeout method Set how long a command waits for its result block.
  • send method Send one command and wait for its result block.
  • shutdown method Close the connection and report how it ended.
  • split method Separate the two halves so they can be used at the same time.
Esc

Type to search.