AnsiResponseParser.cs 375 B

1234567891011121314151617181920
  1. #nullable enable
  2. namespace Terminal.Gui;
  3. class AnsiResponseParser
  4. {
  5. public bool ConsumeInput (char character, out string? released)
  6. {
  7. // if character is escape
  8. // start consuming till we see terminator
  9. released = null;
  10. return false;
  11. }
  12. public void ExpectResponse (char terminator, Action<string> response)
  13. {
  14. }
  15. }