Core Library0.xAPI Reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-raku latest

ClientTarget.confirm-async

Ask confirmation before one Invocation. A refusal is returned as a Result.

Source and package
Qualified name
LibTmux::Client::ClientTarget.confirm-async
Module
LibTmux::Client
Declared in
ClientTarget
Package
LibTmux
Source
lib/LibTmux/Client.rakumod
method confirm-async(Invocation:D $command, Positive:D :$timeout-ms!, Str:D :$prompt = 'Confirm? (y/n)', *%operation --> Promise:D)

Description#

Ask confirmation before one Invocation. A refusal is returned as a Result.

Parameters

tmux command#

The tmux commands behind confirm-async.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference