Skip to content

ReplAppTerminalIntegrationExtensions

Terminal-integration extensions for the DI-enabled REPL app.

public static class ReplAppTerminalIntegrationExtensions

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)
  • app (ReplApp): Target app.
  • configure (Action<TerminalIntegrationOptions>): Optional integration settings.

ReplApp - The same app instance.