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

LibTmux.DisplayMenuRequest.ToCommand

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

View as Markdown

Module
LibTmux
Declared in
DisplayMenuRequest
Package
LibTmux
Source
src/LibTmux/Requests/DisplayMenuRequest.cs
ToCommand ( server : Server ) → TmuxCommand
method [source]
method [source]
ToCommand

Returns a menu request as one tmux command.

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

0 declared, 0 inherited

Esc

Type to search.