ControlMode.attach_with_limits
Attach with explicit frame budgets.
Source and package
- Qualified name
-
libtmux::control:: Control Mode:: attach _with _limits - Module
- control
- Declared in
ControlMode- Package
- libtmux
- Source
- crates/libtmux/src/control.rs
-
Description#
Control mode reads from a process that keeps running, so the framing is the only thing bounding memory: a line that never ends, or a block whose
%endnever arrives, otherwise grows until the machine notices.Errors
Returns an error when the connection cannot be opened, as
Self::attach()does.Server::shutdown()cancels an attach in progress and refuses later attempts.Cancel safety
Nothing is left held, as for
Self::attach().
tmux command#
The tmux commands behind attach_with_limits.
tmux C API#
The C declarations in tmux that implement these commands.