Enum AnsiResponseParserState
Describes the current state of an IAnsiResponseParser
public enum AnsiResponseParserState
- Extension Methods
Fields
DiscardingBracketedPasteRemainder = 4Parser has already delivered the truncated prefix of an oversized bracketed paste and is discarding the remaining bytes until the matching end sequence (
ESC[201~) arrives.ExpectingEscapeSequence = 1Parser has encountered an Esc and is waiting to see if next key(s) continue to form an Ansi escape sequence (typically '[' but also other characters e.g. O for SS3).
InBracketedPaste = 3Parser has encountered the bracketed-paste start sequence (
ESC[200~) and is accumulating pasted content until the matching end sequence (ESC[201~).InResponse = 2Parser has encountered Esc[ and considers that it is in the process of reading an ANSI sequence.
Normal = 0Parser is reading normal input e.g. keys typed by user.