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

tmuxp.cli.utils.prompt_choices

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

API reference · Markdown

tmuxp.cli.utils.prompt_choices ( name : str , choices : Sequence[str | tuple[str, str]] , default : str | None = None , no_choice : Sequence[str] = ("none",) , color_mode : ColorMode | None = None ) → str | None
function [source]
function [source]
tmuxp.cli.utils.prompt_choices

Return user input from command line from set of provided choices.

Returns

str

Esc

Type to search.