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

Go API

Go documentation

tmux.Server.CommandPrompt

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

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_interactive.go
Other languages
Python Ruby Lua TypeScript Rust Java .NET C++ Swift
CommandPrompt ( ctx : context.Context , request : CommandPromptRequest ) → error
method [source]
method [source]
CommandPrompt

CommandPrompt asks tmux to display a background command prompt and returns after tmux accepts it, not after input is submitted or Template runs. It requires tmux 3.3. Later flags follow UnsupportedPolicy . Completed stderr is an error; cancellation does not prove prompt delivery or later execution.

In other ports Ask a client for input and run a command with it

0 declared, 0 inherited

Esc

Type to search.