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.

enum libtmux-rs latest

StepReason

Why a Step is its own tmux invocation.

Source and package
Qualified name
libtmux::plan::planner::StepReason
Module
plan.planner
Package
libtmux
Source
crates/libtmux/src/plan/planner.rs
enum plan.planner.StepReason

Description#

The answer a caller wants from Planner::explain() is usually "why is this not cheaper", so the reasons name the obstacle rather than the outcome.

Variants5#

StepReason variants
CasePayloadDescription
Alone No payload Alone because it had nothing to share with.
CreatesId No payload Alone because it prints an id a later operation needs.
Folded No payload Several operations sharing one invocation.
MarkedFold No payload A pane creation sharing its invocation with what decorates it.
ReadsOutput No payload Alone because its output is its answer, and a shared invocation returns one merged stdout with no per-command boundary.
Esc

Type to search.

Reference previewOpen reference