mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Fixes #4243 - ConsoleDriverFacade.CreateClipboard now honors FakeDriver.FakeBehaviors.UseFakeClipboard (#4244)
* updatd ConsoleDriverFacade.CreateClipboard to honor FakeDriver.FakeBehaviors.UseFakeClipboard * Code cleanup of fake driver v2
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#nullable enable
|
||||
namespace Terminal.Gui.Drivers;
|
||||
|
||||
#pragma warning disable CS1591
|
||||
public class FakeDriverFactory
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates a new instance of <see cref="FakeDriverV2"/> using default options
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public IFakeDriverV2 Create ()
|
||||
{
|
||||
return new FakeDriverV2 (
|
||||
new (),
|
||||
new (),
|
||||
new (),
|
||||
() => DateTime.Now,
|
||||
new ());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user