Rename to TerminalGuiFluentTesting

This commit is contained in:
tznind
2025-03-16 20:03:06 +00:00
committed by Tig
parent 491140a39a
commit 79f289ce8f
13 changed files with 463 additions and 408 deletions

View File

@@ -0,0 +1,28 @@
using System.Drawing;
using Terminal.Gui;
namespace TerminalGuiFluentTesting;
internal class FakeOutput : IConsoleOutput
{
public IOutputBuffer LastBuffer { get; set; }
public Size Size { get; set; }
/// <inheritdoc/>
public void Dispose () { }
/// <inheritdoc/>
public void Write (ReadOnlySpan<char> text) { }
/// <inheritdoc/>
public void Write (IOutputBuffer buffer) { LastBuffer = buffer; }
/// <inheritdoc/>
public Size GetWindowSize () { return Size; }
/// <inheritdoc/>
public void SetCursorVisibility (CursorVisibility visibility) { }
/// <inheritdoc/>
public void SetCursorPosition (int col, int row) { }
}