mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-19 02:12:49 +08:00

This is far from complete, but it's a start and it will enable us to create things like tables and other complex objects in the long run.
20 lines
506 B
C#
20 lines
506 B
C#
using Spectre.Console.Composition;
|
|
|
|
namespace Spectre.Console
|
|
{
|
|
/// <summary>
|
|
/// A console capable of writing ANSI escape sequences.
|
|
/// </summary>
|
|
public static partial class AnsiConsole
|
|
{
|
|
/// <summary>
|
|
/// Renders the specified object to the console.
|
|
/// </summary>
|
|
/// <param name="renderable">The object to render.</param>
|
|
public static void Render(IRenderable renderable)
|
|
{
|
|
Console.Render(renderable);
|
|
}
|
|
}
|
|
}
|