InteractionOptions
Prompt interaction behavior options.
- Kind:
Class - Namespace: Repl
- Assembly:
Repl.Core - Source: src/Repl.Core/InteractionOptions.cs
Signature
Section titled “Signature”public sealed class InteractionOptionsInheritance
Section titled “Inheritance”Properties
Section titled “Properties”AdvancedProgressMode
Section titled “AdvancedProgressMode”Gets or sets whether advanced terminal progress sequences should be emitted.
public AdvancedProgressMode AdvancedProgressMode { get; set; }Returns
Section titled “Returns”DefaultProgressLabel
Section titled “DefaultProgressLabel”Gets or sets the default progress label used when handlers report percentage-only progress.
public string DefaultProgressLabel { get; set; }Returns
Section titled “Returns”ProgressTemplate
Section titled “ProgressTemplate”Gets or sets the progress rendering template. Supported placeholders: {label}, {percent}, {percent:0}, {percent:0.0}.
public string ProgressTemplate { get; set; }Returns
Section titled “Returns”PromptFallback
Section titled “PromptFallback”Gets or sets fallback behavior for unanswered non-interactive prompts.
public PromptFallback PromptFallback { get; set; }