ControlSender.pause_after
Have tmux pause a pane rather than let this connection fall behind.
Source and package
- Qualified name
-
libtmux::control:: Control Sender:: pause _after - Module
- control
- Declared in
ControlSender- Package
- libtmux
- Source
- crates/libtmux/src/control.rs
-
Description#
Without this, tmux disconnects a control client that falls more than five minutes behind, losing everything the connection was for. With it, tmux instead reports
Event::Pausedfor the offending pane and keeps the connection, and everyEvent::Outputbecomes anEvent::ExtendedOutputcarrying how far behind it was.Errors
Returns an error when the connection has closed or tmux refuses the pause policy.
tmux command#
The tmux commands behind pause_after.
tmux C API#
The C declarations in tmux that implement these commands.