mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 08:50:25 +01:00
Merge pull request #1319 from BDisp/clipboard-linux-fix
Fixes #1318. Ensures that the OS clipboard is always sets.
This commit is contained in:
@@ -1102,7 +1102,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 ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user