Browse Source

ProcessInputQueue must be outside the wait block.

BDisp 8 months ago
parent
commit
1795547702
1 changed files with 2 additions and 3 deletions
  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 ();
-
-
-                    ProcessInputQueue ();
                 }
+
+                ProcessInputQueue ();
             }
             catch (OperationCanceledException)
             {