Explorar o código

Change xterm implementation check to use a different class

Bepis %!s(int64=4) %!d(string=hai) anos
pai
achega
1e394b8d0e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 			}
 		}