Browse Source

Reformatting.

BDisp 2 years ago
parent
commit
59b5b40b64
1 changed files with 7 additions and 7 deletions
  1. 7 7
      Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs

+ 7 - 7
Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs

@@ -669,16 +669,16 @@ internal class CursesDriver : ConsoleDriver {
 		if (Environment.OSVersion.Platform == PlatformID.Win32NT) {
 		if (Environment.OSVersion.Platform == PlatformID.Win32NT) {
 			Clipboard = new FakeDriver.FakeClipboard ();
 			Clipboard = new FakeDriver.FakeClipboard ();
 		} else {
 		} else {
-		if (RuntimeInformation.IsOSPlatform (OSPlatform.OSX)) {
-			Clipboard = new MacOSXClipboard ();
-		} else {
-			if (Is_WSL_Platform ()) {
-				Clipboard = new WSLClipboard ();
+			if (RuntimeInformation.IsOSPlatform (OSPlatform.OSX)) {
+				Clipboard = new MacOSXClipboard ();
 			} else {
 			} else {
-				Clipboard = new CursesClipboard ();
+				if (Is_WSL_Platform ()) {
+					Clipboard = new WSLClipboard ();
+				} else {
+					Clipboard = new CursesClipboard ();
+				}
 			}
 			}
 		}
 		}
-		}
 
 
 		ClearContents ();
 		ClearContents ();
 		StartReportingMouseMoves ();
 		StartReportingMouseMoves ();