mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 17:57:57 +01:00
Fix null exception
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user