Tyrrrz / CliFx

Class-first framework for building command-line interfaces
MIT License
1.5k stars 61 forks source link

Add IConsole.Clear() #100

Closed kamran65536 closed 3 years ago

kamran65536 commented 3 years ago

code in IConsole:

/// <summary>
/// Clears the console buffer and corresponding console window of display information.
/// </summary>
void Clear();

code in SystemConsole:

 /// <inheritdoc />
public void Clear()
{
     Console.Clear();
}

code in FakeConsole:

 /// <inheritdoc />
public void Clear()
{
}