Table of Contents

Property CaptureOutput

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

CaptureOutput

Enables capture for GetLastOutput(). Headless outputs capture by default for tests; terminal-attached outputs must opt in to avoid decoding every write. To configure capture, use the concrete OutputBase implementation; IOutput does not require this optional diagnostic feature. Disabling capture clears previously captured text and releases its storage.

public bool CaptureOutput { get; set; }

Property Value

bool