TextFormat
This commit is contained in:
13
src/Library/TerminalUI/TextFormat/EmptyFormat.cs
Normal file
13
src/Library/TerminalUI/TextFormat/EmptyFormat.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using TerminalUI.ConsoleDrivers;
|
||||
|
||||
namespace TerminalUI.TextFormat;
|
||||
|
||||
public readonly struct EmptyFormat : ITextFormat
|
||||
{
|
||||
public static EmptyFormat Instance => new();
|
||||
public bool CanApply(TextFormatContext context) => true;
|
||||
|
||||
public void ApplyFormat(IConsoleDriver consoleDriver, TextFormatContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user