Quellcode durchsuchen

ProcessInputQueue must be outside the wait block.

BDisp vor 8 Monaten
Ursprung
Commit
1795547702
1 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
  1. 2 3
      Terminal.Gui/ConsoleDrivers/CursesDriver/UnixMainLoop.cs

+ 2 - 3
Terminal.Gui/ConsoleDrivers/CursesDriver/UnixMainLoop.cs

@@ -173,10 +173,9 @@ internal class UnixMainLoop (ConsoleDriver consoleDriver) : IMainLoopDriver
                     }
                     }
 
 
                     ((IMainLoopDriver)this)._waitForInput.Reset ();
                     ((IMainLoopDriver)this)._waitForInput.Reset ();
-
-
-                    ProcessInputQueue ();
                 }
                 }
+
+                ProcessInputQueue ();
             }
             }
             catch (OperationCanceledException)
             catch (OperationCanceledException)
             {
             {