control.PaneOutput
Rust
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- control
- Package
- libtmux
- Source
- crates/libtmux/src/control.rs
-
What one pane writes, as it writes it.
Built by
crate::Pane::stream_output. This is aStreamof the bytes that pane produced, in order. Its infallible items combine normal termination, connection failure, and the watched pane being killed intoNone, once whatever was already buffered has drained. CallSelf::shutdownto observe a connection error, or useControlEventsto receive errors during iteration; a killed pane is not an error either way, since ending is the correct answer once nothing more will arrive.tmux is told to send this connection nothing but the watched pane. A neighbouring pane running
yesotherwise moves tens of megabytes a second through it, and the watched pane's output queues behind that.Each of these owns a control-mode connection, so a caller watching many panes at once is better served by
ControlEventsand one connection, narrowed withControlSender::watch_only.
5 declared, 0 inherited
Members
- snapshot method Capture the pane's visible screen at an ordered point in this stream.
- next_chunk method Return the next chunk this pane wrote, or
Noneonce it stops. - pane method Return the pane being watched.
- sender method Return the connection this stream reads, to mute or resume panes on it.
- shutdown method End the connection and report how it went.