ReplAppTerminalIntegrationExtensions
Terminal-integration extensions for the DI-enabled REPL app.
- Kind:
Class - Namespace: Repl
- Assembly:
Repl.Defaults - Source: src/Repl.Defaults/ReplAppTerminalIntegrationExtensions.cs
Signature
Section titled “Signature”public static class ReplAppTerminalIntegrationExtensionsInheritance
Section titled “Inheritance”Methods
Section titled “Methods”UseTerminalIntegration(ReplApp, Action<TerminalIntegrationOptions>?)
Section titled “UseTerminalIntegration(ReplApp, Action<TerminalIntegrationOptions>?)”Enables the terminal-integration layer. In interactive mode the prompt and command lifecycle are marked with shell-integration sequences (OSC 133, or OSC 633 under VS Code), unlocking command navigation and decorations in capable terminals. Emission is capability-gated; raw escape sequences are never exposed to handlers.
public static ReplApp UseTerminalIntegration(this ReplApp app, Action<TerminalIntegrationOptions>? configure = null)Parameters
Section titled “Parameters”app(ReplApp): Target app.configure(Action<TerminalIntegrationOptions>): Optional integration settings.
Returns
Section titled “Returns”ReplApp - The same app instance.