Chooser
One of tmux's interactive choosers.
Source and package
- Qualified name
-
libtmux::server:: Chooser - Module
- server
- Package
- libtmux
- Source
- crates/libtmux/src/server.rs
-
Description#
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?;