Server.DisplayMenu
DisplayMenu displays a menu and waits until tmux closes it. The target client must own a TTY; control-mode clients cannot render menu overlays. It returns no selected value and does not establish whether an item command ran. Unsupported optional flags follow UnsupportedPolicy. Completed stderr is an error, and cancellation does not prove menu delivery or a selected command's effect.
Source and package
- Qualified name
-
tmux.Server. Display Menu - Package
- tmux
- Declared in
Server- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/server_interactive.go
- Other languages
- Perl Raku Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript Rust Java C# C++ Swift Kotlin Scala OCaml F# Clojure
- func (s Server) DisplayMenu( ctx context
.Context , request DisplayMenu , ) errorRequest -
- Parameters
tmux command#
The tmux commands behind DisplayMenu.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Show a menu over a client
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on Server |
| Rust | server |
| Java | no equivalent on Server |
| C# | no equivalent on Server |
| C++ | no equivalent on Server |
| Swift | no equivalent on Server |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |
| Raku | Lib |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.