mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
11 lines
223 B
C#
11 lines
223 B
C#
#nullable enable
|
|
namespace Terminal.Gui;
|
|
|
|
public record AnsiResponseExpectation (string Terminator, Action<string> Response)
|
|
{
|
|
public bool Matches (string cur)
|
|
{
|
|
return cur.EndsWith (Terminator);
|
|
}
|
|
}
|