Console upgrades, PossibleCommands VM

This commit is contained in:
2023-08-10 22:54:52 +02:00
parent 96d4eb926d
commit e989a65e81
48 changed files with 983 additions and 400 deletions

View File

@@ -0,0 +1,18 @@
using TerminalUI.ConsoleDrivers;
namespace TerminalUI.Models;
public readonly ref struct RenderContext
{
private static int _renderId = 0;
public readonly int RenderId;
public readonly IConsoleDriver ConsoleDriver;
public RenderContext(IConsoleDriver consoleDriver)
{
ConsoleDriver = consoleDriver;
RenderId = _renderId++;
}
public static RenderContext Empty => new(null!);
}