|
@@ -959,7 +959,7 @@ namespace Terminal.Gui {
|
|
// If xclip is installed on Linux under WSL, this will return true.
|
|
// If xclip is installed on Linux under WSL, this will return true.
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- var (exitCode, result) = ClipboardProcessRunner.Bash ("uname -a", runCurses: false);
|
|
|
|
|
|
+ var (exitCode, result) = ClipboardProcessRunner.Bash ("uname -a");
|
|
if (exitCode == 0 && result.Contains ("microsoft") && result.Contains ("WSL")) {
|
|
if (exitCode == 0 && result.Contains ("microsoft") && result.Contains ("WSL")) {
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
@@ -1280,7 +1280,7 @@ namespace Terminal.Gui {
|
|
bool CheckSupport ()
|
|
bool CheckSupport ()
|
|
{
|
|
{
|
|
try {
|
|
try {
|
|
- var (exitCode, result) = ClipboardProcessRunner.Bash ("which xclip", runCurses: false);
|
|
|
|
|
|
+ var (exitCode, result) = ClipboardProcessRunner.Bash ("which xclip");
|
|
if (exitCode == 0 && result.FileExists ()) {
|
|
if (exitCode == 0 && result.FileExists ()) {
|
|
xclipPath = result;
|
|
xclipPath = result;
|
|
return true;
|
|
return true;
|