Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

server.Chooser

Rust
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
server
Package
libtmux
Source
crates/libtmux/src/server.rs
enum server.Chooser
enumoverload [source]
enumoverload [source]
enum server.Chooser

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

Members

  • Buffer constant Browse paste buffers.
  • Client constant Browse attached clients.
  • Customize constant Customize options and key bindings.
  • Tree constant Browse sessions, windows, and panes together.
Esc

Type to search.