On this page
server.interactive.Server.choose
- Module
- server.interactive
- Declared in
- Server
- Package
- libtmux
- Source
- crates/libtmux/src/server/interactive.rs
-
Open one of tmux's interactive choosers on a client.
A chooser opens *in a pane*, which is why this needs no client and succeeds on a server nothing is attached to: the pane's
pane_in_modebecomes1and itspane_modebecomestree-mode, client or not.That is the difference from
Self::display_popup,Self::display_menu,Self::command_promptandSelf::display_panes, which draw *on a client* and report "no current client" without one. Passingclienthere only says which client's current pane to open in.Errors
Returns
Error::ServerMismatchwhen the client belongs to another server, or an error when tmux refuses the command. A missing client is not one: this does not need one.
0 declared, 0 inherited