Selaa lähdekoodia

Change xterm implementation check to use a different class

Bepis 4 vuotta sitten
vanhempi
commit
1e394b8d0e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;
 			}
 		}