control.Subscription
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 a subscription watches.
tmux reads this from the shape of the argument rather than from a keyword:
%introduces a pane,@a window,*stands for every one of them, and anything else names the session the control client is attached to. The session case is therefore spelled as nothing at all, which is the canonical form rather than a special case.Examples
use libtmux::control::Subscription;assert_eq!(Subscription::AllPanes.to_string(), "%*");assert_eq!(Subscription::AllWindows.to_string(), "@*");// The session the connection is attached to, named by naming nothing.assert_eq!(Subscription::Session.to_string(), "");
5 declared, 0 inherited
Members
- AllPanes constant Every pane in the attached session.
- AllWindows constant Every window in the attached session.
- Pane constant One pane.
- Session constant The session this connection is attached to.
- Window constant One window.