Skip to content

Commit

Permalink
Reformatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
BDisp authored and tig committed Aug 15, 2023
1 parent 551b888 commit f167380
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -669,16 +669,16 @@ public override void Init (Action terminalResized)
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 ();
Expand Down

0 comments on commit f167380

Please sign in to comment.