Skip to content
ConsoleMonster

API Reference

Enum

InteractionMode

Namespace ConsoleMonster.Interactive
Assembly ConsoleMonster
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

How prompts, menus and forms talk to the user.

Inheritance

  • Enum
  • InteractionMode

Usage

Explore 6 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const InteractionMode Rich #

Raw keys and in-place redraws: filtering lists, focus bars, the app shell.

Value: 0
public const InteractionMode Line #

Line-based prompts: a question, then a typed answer. Used where raw keys or redraws are unavailable (PowerShell remoting, the ISE, consoles without VT).

Value: 1
public const InteractionMode Accessible #

Sequential plain prompts for screen readers and braille displays: numbered choices, no redraws, every state written as text (CONSOLEMONSTER_ACCESSIBLE=1).

Value: 2
public const InteractionMode None #

No user is there to answer (CI, redirected input, -NonInteractive): prompts return their default or fail with a clear message.

Value: 3