#nullable enable namespace Terminal.Gui; /// /// Describes a finished ANSI received from the console. /// public class AnsiEscapeSequenceResponse { /// /// Error received from e.g. see /// /// EscSeqUtils.CSI_SendDeviceAttributes.Request /// /// public required string Error { get; init; } /// /// Response received from e.g. see /// /// EscSeqUtils.CSI_SendDeviceAttributes.Request /// /// . /// public required string Response { get; init; } /// /// /// The terminator that uniquely identifies the type of response as responded /// by the console. e.g. for /// /// EscSeqUtils.CSI_SendDeviceAttributes.Request /// /// the terminator is /// /// EscSeqUtils.CSI_SendDeviceAttributes.Terminator /// /// /// /// The received terminator must match to the terminator sent by the request. /// /// public required string Terminator { get; init; } /// /// The value expected in the response e.g. /// /// EscSeqUtils.CSI_ReportTerminalSizeInChars.Value /// /// which will have a 't' as terminator but also other different request may return the same terminator with a /// different value. /// public string? Value { get; init; } }