TerminalSessionOverrides
Optional per-run overrides for terminal session metadata. When specified, overrides take precedence over auto-detection.
- Kind:
Class - Namespace: Repl
- Assembly:
Repl.Defaults - Source: src/Repl.Defaults/TerminalSessionOverrides.cs
Signature
Section titled “Signature”public sealed record TerminalSessionOverrides : IEquatable<TerminalSessionOverrides>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<TerminalSessionOverrides>
Properties
Section titled “Properties”AnsiSupported
Section titled “AnsiSupported”Force ANSI support state.
public bool? AnsiSupported { get; init; }Returns
Section titled “Returns”bool?
RemotePeer
Section titled “RemotePeer”Force remote peer descriptor (for example “203.0.113.7:50124”).
public string? RemotePeer { get; init; }Returns
Section titled “Returns”TerminalCapabilities
Section titled “TerminalCapabilities”Force terminal capability flags.
public TerminalCapabilities? TerminalCapabilities { get; init; }Returns
Section titled “Returns”TerminalCapabilities?
TerminalIdentity
Section titled “TerminalIdentity”Force terminal identity (for example “xterm-256color”).
public string? TerminalIdentity { get; init; }Returns
Section titled “Returns”TransportName
Section titled “TransportName”Force transport name (for example “websocket”, “telnet”, “signalr”).
public string? TransportName { get; init; }Returns
Section titled “Returns”WindowSize
Section titled “WindowSize”Force terminal window size.
public (int Width, int Height)? WindowSize { get; init; }Returns
Section titled “Returns”(int Width, int Height)?