#nullable enable
namespace Terminal.Gui;
///
/// Represents the status of an ANSI escape sequence request made to the terminal using
/// .
///
///
public class EscSeqReqStatus
{
/// Creates a new state of escape sequence request.
/// The terminator.
/// The number of requests.
public EscSeqReqStatus (string terminator, int numReq)
{
Terminator = terminator;
NumRequests = NumOutstanding = numReq;
}
/// Gets the number of unfinished requests.
public int NumOutstanding { get; internal set; }
/// Gets the number of requests.
public int NumRequests { get; internal set; }
/// Gets the Escape Sequence Terminator (e.g. ESC[8t ... t is the terminator).
public string Terminator { get; }
}