Browse Source

mucking with xclip

Charlie Kindel 2 years ago
parent
commit
b2b745d094
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs

+ 2 - 2
Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs

@@ -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;