public AnsiConsoleFacade(Profile profile) { _renderLock = new object(); _ansiBackend = new AnsiConsoleBackend(profile); _legacyBackend = new LegacyConsoleBackend(profile); Profile = profile ?? throw new ArgumentNullException(nameof(profile)); Input = new DefaultInput(Profile); Pipeline = new RenderPipeline(); }
public AnsiConsoleCursor(AnsiConsoleBackend backend) { _backend = backend ?? throw new ArgumentNullException(nameof(backend)); }