Преглед изворни кода

Change xterm implementation check to use a different class

Bepis пре 4 година
родитељ
комит
1e394b8d0e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      BepInEx/Console/Unix/LinuxConsoleDriver.cs

+ 1 - 1
BepInEx/Console/Unix/LinuxConsoleDriver.cs

@@ -18,7 +18,7 @@ namespace BepInEx.Unix
 
 			if (consoleDriverType != null)
 			{
-				UseMonoTtyDriver = AccessTools.Method("System.TermInfoDriver:MangleParameters") == null;
+				UseMonoTtyDriver = typeof(Console).Assembly.GetType("System.ParameterizedStrings") != null;
 			}
 		}