diff --git a/Terminal.Gui/ConsoleDrivers/WindowsDriver.cs b/Terminal.Gui/ConsoleDrivers/WindowsDriver.cs index 2fbbd411d..cc6f9fa02 100644 --- a/Terminal.Gui/ConsoleDrivers/WindowsDriver.cs +++ b/Terminal.Gui/ConsoleDrivers/WindowsDriver.cs @@ -798,8 +798,10 @@ internal class WindowsDriver : ConsoleDriver { if (Environment.OSVersion.Platform == PlatformID.Win32NT) { WinConsole = new WindowsConsole (); // otherwise we're probably running in unite tests + Clipboard = new WindowsClipboard (); + } else { + Clipboard = new FakeDriver.FakeClipboard (); } - Clipboard = new WindowsClipboard (); _isWindowsTerminal = Environment.GetEnvironmentVariable ("WT_SESSION") != null;