On this page
server.interactive.Server.display_popup
- Module
- server.interactive
- Declared in
- Server
- Package
- libtmux
- Source
- crates/libtmux/src/server/interactive.rs
-
-
Show a popup over a client, running a command inside it.
This needs a client with a terminal, so it fails on a server nothing is attached to.
Unlike
Self::command_promptandSelf::display_menu, this does not wait for a person -- but it does wait for the command. The popup is opened with-E, so it closes when what runs inside it exits, and this returns then. A command that does not end holds the call until the dispatch timeout does.Errors
Returns
Error::ServerMismatchwhen the client belongs to another server, or an error when no suitable client exists, when tmux refuses the command, and when the dispatch timeout expires before it exits.
0 declared, 0 inherited