🖥️How to use

How do you use it?

VT.NET provides several filtering and manipulation tools which allow you to perform these operations on strings that contain escape sequences under the VT.NET.Tools namespace. Currently, these tools are provided:

Place the using VT.NET.Tools; directive at the top of the file that you want to call these functions in. You need to put the class name VtSequenceTools before the function name mentioned above so that it looks like this:

char BellChar = Convert.ToChar(0x7);
char EscapeChar = Convert.ToChar(0x1b);
char StringTerminator = Convert.ToChar(0x9c);
string vtSequence1 = $"{EscapeChar}[38;5;43m";
string filtered = VtSequenceTools.FilterVTSequences($"Hello!{vtSequence1}");
Console.WriteLine(filtered);

Last updated