Skip to content
ConsoleMonster
Class

SessionRecordingOptions

ConsoleMonster.Sessions

Namespace
ConsoleMonster.Sessions
Assembly
ConsoleMonster
Modifiers
sealed

Local terminal recording settings. Input bytes are never recorded.

Inheritance

  • object
  • SessionRecordingOptions

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Constructors

public SessionRecordingOptions() #

Properties

public string? Path { get; set; } #

Native asciicast v2 output. Null creates a timestamped name in SessionRecordingOptions.Folder.

public string Folder { get; set; } #

Folder used for automatic recording names.

public string Name { get; set; } #

Human-readable recording title.

public string? Shell { get; set; } #

Child executable. Null selects the platform shell.

public IList<string> Arguments { get; } #

Individual child arguments, quoted by the transport.

public IDictionary<string, string?> Environment { get; } #

Named child environment overrides. Null removes a variable; values are never written to metadata.

public int Width { get; set; } #

Initial terminal width.

public int Height { get; set; } #

Initial terminal height.

public long MaxBytes { get; set; } #

Maximum cast bytes, including its header. Capture stops at the limit; the child keeps running.

public TimeSpan IdleLimit { get; set; } #

Longest playback gap. Zero preserves original timing.

public TimeSpan Timeout { get; set; } #

Maximum time spent waiting for the child in WaitForExit.

public IList<string> Redact { get; } #

Additional regular expressions, applied before any recording data is written.

public string RedactionText { get; set; } #

Visible replacement for matched output. The default is [REDACTED]; control characters are not allowed.

public string WorkingDirectory { get; set; } #

Child working directory.

public bool InProcess { get; set; } #

Explicitly use the limited in-process PowerShell capture adapter.