Fix null exception

This commit is contained in:
BDisp
2025-07-22 18:15:22 +01:00
parent 69e1986b22
commit 600eba4667

View File

@@ -34,7 +34,7 @@ internal class ConsoleDriverFacade<T> : IConsoleDriver, IConsoleDriverFacade
}
else if (InputProcessor is NetInputProcessor)
{
SupportsTrueColor = Application.Driver.SupportsTrueColor;
SupportsTrueColor = Application.Driver?.SupportsTrueColor == true;
}
InputProcessor.KeyDown += (s, e) => KeyDown?.Invoke (s, e);