Explorar el Código

Change xterm implementation check to use a different class

Bepis hace 4 años
padre
commit
1e394b8d0e
Se han modificado 1 ficheros con 1 adiciones y 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;
 			}
 		}