Disable WindowsDriver until I have a chance to fix it

This commit is contained in:
miguel
2018-05-14 22:42:00 -04:00
parent 303508b4f3
commit 92d35cde97

View File

@@ -1594,8 +1594,13 @@ namespace Terminal.Gui {
if (UseSystemConsole)
Driver = new NetDriver ();
else if (p == PlatformID.Win32NT || p == PlatformID.Win32S || p == PlatformID.Win32Windows)
Driver = new WindowsDriver();
//
// The driver currently has a race and does not integrate into mainloop, so input
// only works at random. I need to change the code to do proper polling on mainloop
// and then delegate the reading of events to WindowsConsole
//
//else if (p == PlatformID.Win32NT || p == PlatformID.Win32S || p == PlatformID.Win32Windows)
// Driver = new WindowsDriver();
else
Driver = new CursesDriver ();
Driver.Init (TerminalResized);