recrownedgtk/RecrownedGTK.Tools/CommandProcessor/Commands/ClearConsoleCommand.cs

18 lines
422 B
C#
Raw Normal View History

2020-02-17 02:44:21 +00:00
using System;
namespace RecrownedGTK.Tools.CommandProcessor.Commands
{
public class ClearConsoleCommand : EngineCommand
2020-02-17 02:44:21 +00:00
{
public ClearConsoleCommand() : base("clear")
{
help = "Clears the console.";
}
public override void Run(IUserInput userInput, IUserOutput userOutput, string[] arguments = null)
2020-02-17 02:44:21 +00:00
{
userOutput.ClearOutput();
2020-02-17 02:44:21 +00:00
}
}
}