server.Chooser
Rust
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- server
- Package
- libtmux
- Source
- crates/libtmux/src/server.rs
-
One of tmux's interactive choosers.
Each opens a mode on a client and returns as soon as tmux accepts it; the user's eventual choice is not reported back here.
Examples
use libtmux::Chooser;// A chooser draws in an attached client's terminal, so this needs one; with// no client tmux has nowhere to put it.let client = server.clients().await?.into_iter().next();server.choose(Chooser::Tree, client.as_ref()).await?;
4 declared, 0 inherited