method libtmux-dotnet latest
DisplayMenuRequest.ToCommand
Returns a menu request as one tmux command.
Source and package
- Module
- LibTmux
- Declared in
- DisplayMenuRequest
- Package
- LibTmux
- Source
- src/LibTmux/Requests/DisplayMenuRequest.cs
- ToCommand ( server : Server ) Tmux
Command -
Description#
The style flags arrived in tmux 3.4 and the mouse flag in 3.5, so the server decides which of them the built command carries.
- Parameters
-
-
server ( Server ) – The server the menu is shown on.
-
- Returns
-
The command, ready to add to a
TmuxChain. - Raises
-
-
Argument
Null –Exception serveris null.
-