Core Library0.xAPI Reference

Choose documentation 3

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-rs latest

BlockResult.refusal_for

Classify an error block as a refusal for a named operation.

Source and package
Qualified name
libtmux::control::BlockResult::refusal_for
Module
control
Declared in
BlockResult
Package
libtmux
Source
crates/libtmux/src/control.rs
#[must_use] pub fn refusal_for( &self, operation: &'static str ) -> Option<Error>

Description#

Use a fixed operation name without targets or argument values. Output is withheld when the command carried sensitive input.

Returns None when tmux closed the block successfully.

Parameters
Esc

Type to search.

Reference previewOpen reference