Client.suspend
Suspend this client, as if its user pressed the suspend key.
Source and package
- Qualified name
-
libtmux::client:: Client:: suspend - Module
- client
- Declared in
Client- Package
- libtmux
- Source
- crates/libtmux/src/client.rs
-
Description#
The handle survives, and deliberately: unlike
Self::detach(), this stops the client rather than ending it. Some tmux releases omit a suspended client fromServer::clients(); others keep it listed. The client resumes when its process continues withSIGCONT.Errors
Returns an error when tmux refuses the command. A later
Self::refresh()can returnError::ClientSuspendedor succeed, depending on whether that tmux release omits the stopped client.
tmux command#
The tmux commands behind suspend.
tmux C API#
The C declarations in tmux that implement these commands.