Table of Contents

Namespace ItTiger.TigerCli.Enums

Enums

ActivityOutcome
The terminal outcome of a rich activity dialog run. Mapped 1:1 from the modal DialogResultKind plus the background operation's own result/exception. Distinguishes successful completion from the cancellation flavours and operation failure so callers can branch without re-deriving meaning from a collapsed value.
ActivityStopMode
The single stop action a rich activity dialog exposes. An activity dialog offers exactly one stop action — never Cancel and Abort together — so the button, the confirmation prompt, and the in-progress state all describe the same intent.
CliAnsiSupport
The level of ANSI support detected for a console stream by TerminalCapabilities. Used by the sink factory to decide whether Auto may upgrade to an ANSI sink.
CliCellPadding
Horizontal padding applied inside a rendered cell.
CliColor
The full ANSI 256-color palette as a single enum. The numeric value of every member equals its ANSI palette index.

Values 0–15 preserve the standard ConsoleColor-compatible names and ordering. Values 16–255 map directly to ANSI 256-color indexes: 16–231 form the 6×6×6 color cube and 232–255 form the grayscale ramp. Only indexes 0–15 are renderable by the legacy Console sinks; 16–255 are down-converted to the nearest standard color until a 256-color sink exists (see CliColorMapper / CliColorPalette).

CliColorMode
Controls how TigerCli's default console output paths emit colour. Selected globally via ColorMode or per app/run via the --color framework option. Only the default (non-TUI) output paths honour this; the full-interactive TUI continues to use the legacy console sink regardless.
CliColumnSizing
Controls how a column's width is determined after content-driven sizing. Auto: size to content (default). Star: take remaining space after all Auto columns are resolved. Multiple Star columns share the remainder equally.
CliControlDecoration
Decoration flags requested by inline controls, such as scroll indicators and scroll bars.
CliFormattingMode
Controls whether cell content is treated as raw data or preformatted markup-aware text.
CliFrameJoinStyle
Controls how crossing frame segments choose junction glyphs.
CliFrameLineType
Identifies the logical side or direction of a frame line.
CliFrameSegmentStyle
Visual style for a table or grid frame segment.
CliGridAxis
Selects whether a grid axis operation targets a row or a column.
CliHyperlinkMode
Controls whether TigerCli's ANSI output emits OSC 8 clickable hyperlinks for text that carries a resolved hyperlink target (e.g. [Link]…[/] markup, or CliDetails.AddLink / CliList.AddLinkColumn values). Clickability is a progressive enhancement only — the link text is always written visibly and copyably regardless of this setting. Selected via HyperlinkMode.
CliOrientation
One-dimensional orientation used by overlays and layout strips.
CliScrollAxis
Indicates whether an axis is pinned or scrollable in internal scroll layout.
CliScrollMode
Selects which axes of a hosted subgrid cell are scrollable.
CliScrollThumbMode
Determines whether the scrollbar thumb represents the physical scroll offset or the logical active point (cursor) position.
CliSinkTarget
What a text-writing render sink is writing to. This decides the layout bounds the sink reports to the measure pass — a terminal has a width that content must wrap to, an in-memory buffer does not — so it is a property of the destination, never of the colour encoding used to reach it.
CliStylePrecedence
Determines whether a row style or a column style wins when both contribute the same cell style property. Cell-specific style is applied after this choice.
CliTableOrientation
Specifies the orientation of a CLI table.
CliTableStyleOrientationSupport
Which orientations a predefined city table style (see CliTableStyles) is intended for. Most city styles work in either orientation (Both); a few are designed for a single orientation and clamp to it regardless of the requested orientation.
CliTableStylePreset
The single source of truth for built-in table style presets (see CliTableStyles).

The low range (0–99) holds boring intent/alias names; the 100+ range holds the exact "city" recipes they map to. The grouping keeps the alias/city distinction visible in code and leaves room to extend either range. The menu order is intentional — do not reorder.

CliTextAlignment
Horizontal text alignment inside a measured cell.
CliTextDecoration
Text decoration attributes that can be combined on a styled span. These are additive during markup cascading/inheritance (nested scopes OR their flags onto the effective style), and are rendered as ANSI SGR attributes by AnsiSink when ANSI output is active. Actual display depends on terminal/font support.
CliVerticalAlignment
Vertical content alignment inside a measured cell.
CliWrapMode
Line-breaking strategy used by CliWrapping.
CommandMenuMode
Opt-in policy for whether a node (app, command group, or command) participates in the discoverable command menu. The effective decision for a command is resolved by walking the chain app → group → command: a command is eligible when the chain contains at least one Enabled and no Disabled. Inherit contributes no local opinion.
CursorMode
Cursor visibility requested by a grid or inline widget.
DialogConfirmationKinds
The confirmable dialog result kinds an InlineDialog can gate behind an "are you sure?" confirmation. Only the user-/key-produced cancellation kinds are confirmable; the loop-produced lifecycle kinds (TokenCancel, Timeout, SystemCancel) are never confirmed.
DialogResultKind
Result kind returned by modal and inline dialog interactions.
HtmlHyperlinkMode
Controls how HtmlSink renders a text run that carries a HyperlinkTarget. In both modes the visible link text is always emitted unchanged (visible/copyable first, matching the ANSI link philosophy); the mode only decides whether an <a href> is additionally emitted.
InlineDialogArea
Fixed layout areas where an inline dialog can place title, frame, status, widgets, and activity overlays.
MessageBoxButtons
The button set shown by a message-box style inline dialog. It describes the buttons only — not the severity/icon of the message. Each value maps to a fixed set of buttons and DialogResultKind results (see InlineMessageBoxControl / TigerTui.MessageBoxAsync).
MessageBoxKind
The semantic severity of a message-box style inline dialog. It describes the message's meaning — not its buttons (see MessageBoxButtons) — and selects the dialog surface/style the hosting InlineDialog renders (see InlineMessageBoxControl / TigerTui.MessageBoxAsync). The surface is resolved through the active theme (ThemeStyle.DialogSurface / WarningSurface / ErrorSurface), so kinds stay theme-driven rather than hard-coded.
ProgressBarCaps
Optional end-cap decoration for an activity progress bar. Caps are orthogonal to the bar's glyph ProgressBarStyle: any style can be drawn with or without caps. When caps are present they occupy the bar's outer cell(s) and the chosen glyph style fills the interior; caps share the bar's (base) colour. The default is None, so unset callers get an uncapped, full-width bar.
ProgressBarColorMode
How an activity progress bar is coloured. Orthogonal to ProgressBarStyle (glyph family) and ProgressBarCaps (end caps). The default is Single, so existing bars are unchanged.
ProgressBarStyle
A predefined progress-bar glyph appearance for an activity dialog's progress-bar element. Selects the filled/track glyph pair the bar is drawn with; the colour stays uniform — a single theme style paints the whole strip, exactly like the existing default bar. Predefined styles give adjacent or stacked bars a consistent, less-noisy look. The default keeps the original / appearance, so unset callers are unaffected.
SelectOrder
Ordering mode for selectable option collections.
SpinnerFrameSet
A predefined spinner frame sequence owned by SpinnerTicker. Selects one of a small curated set of cyclic indicators; the ticker resolves the enum to its raw frame strings. Frames are raw content — any presentation (brackets, styling, title prefixing) is decided by the overlay or title that renders them, never by the frame set itself.
SurfaceRole
A reusable UI surface family resolved by an ITheme into concrete colours (see SurfaceColors). Surfaces are general UI concepts, not table-specific: a table style, a dialog, or any other component can sit on the same surface.
TableAccent
A semantic accent role a table style recipe (see CliTableStyleRecipe) references for foreground-only elements such as the title or frame. The theme supplies the actual colour; the recipe never hard-codes one.
ThemeStyle
Semantic style roles resolved by an ITheme into concrete cell styles.
TigerCliInteractionMode
Controls whether a command run may use interactive TigerCli UI while resolving command input.
TigerCliPromptMode
Controls which missing values TigerCli may prompt for when the effective interaction mode allows semi-interactive prompting.
TigerCliRenderStage
Rendering pipeline stage associated with a TigerCliException.
TigerCliTheme
Selects a TigerCli UI theme. Default means "use the current theme" (CurrentTheme); the others name a built-in framework theme. Custom indicates a named custom theme and is not resolvable on its own — it needs the theme's name (see TigerConsole.GetTheme(string)).
TigerThemeFamily
The contrast family a theme belongs to. TigerCli classifies every theme as either dark-family or light-family so that custom semantic styles can supply a single dark/light override pair instead of one override per concrete theme. A theme's family is metadata, not inheritance: sealed themes declare their family directly (see ITheme.Family).