mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
fixed WindowsDriver to work in linux unit tests
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user