From f1673807608988fc5ddf027136fa072a8d5acac1 Mon Sep 17 00:00:00 2001 From: BDisp Date: Tue, 15 Aug 2023 00:18:29 +0100 Subject: [PATCH] Reformatting. --- .../ConsoleDrivers/CursesDriver/CursesDriver.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs b/Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs index 389e36442..bafa729d0 100644 --- a/Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs +++ b/Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs @@ -669,16 +669,16 @@ internal class CursesDriver : ConsoleDriver { if (Environment.OSVersion.Platform == PlatformID.Win32NT) { Clipboard = new FakeDriver.FakeClipboard (); } 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 { - Clipboard = new CursesClipboard (); + if (Is_WSL_Platform ()) { + Clipboard = new WSLClipboard (); + } else { + Clipboard = new CursesClipboard (); + } } } - } ClearContents (); StartReportingMouseMoves ();