Skip to content

Repl.Spectre

  • Kind: Namespace
  • Assembly: Repl.Spectre
  • BoxDrawingSupport Enum - How much of Spectre’s box-drawing repertoire the current output sink can carry. This is the verdict Spectre console creation acts on; expose it in a diagnostics command via CurrentBoxDrawingSupport instead of re-probing by hand. Values are explicit and append-only: new tiers get new numbers so already-compiled consumers keep their meaning.
  • SpectreConsoleOptions Class - Configuration options for the Spectre.Console integration.
  • SpectreInteractionHandler Class - Handles interaction requests using Spectre.Console rich prompts. Returns Unhandled when the terminal does not support interactive Spectre prompts (hosted sessions, redirected input, colour forced where the terminal may not be driven), and while the command’s feedback goes elsewhere than the output the prompts draw on (output for a program, such as --json or a redirected standard output): the text prompts then take over.
  • SpectreInteractionPresenter Class - Spectre-aware interaction presenter that supports explicit output capture when an application temporarily owns the terminal surface.
  • SpectreReplExtensions Class - Extension methods to enable Spectre.Console integration in a Repl application.
  • SpectreTerminalDetection Class - Read-only view of the terminal detection Spectre rendering runs on. “Ask the running app first”: diagnostics commands display these values instead of re-implementing the framework’s probes (which would drift).