Ver Fonte

Change xterm implementation check to use a different class

Bepis há 4 anos atrás
pai
commit
1e394b8d0e
1 ficheiros alterados com 1 adições e 1 exclusões
  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;
 			}
 		}