Implemented the ClipboardBase abstract class as suggested by @tznind.

This commit is contained in:
BDisp
2021-05-25 18:49:30 +01:00
parent 8bdbb12c8a
commit 87271cc477
10 changed files with 435 additions and 63 deletions

View File

@@ -1100,7 +1100,11 @@ namespace Terminal.Gui {
} else if (RuntimeInformation.IsOSPlatform (OSPlatform.OSX)) {
Clipboard = new MacOSXClipboard ();
} else {
Clipboard = new CursesClipboard ();
if (CursesDriver.Is_WSL_Platform ()) {
Clipboard = new WSLClipboard ();
}else{
Clipboard = new CursesClipboard ();
}
}
}