Explorar o código

There is no need use the Application.MainLoop.AddIdle as the async call seems to work properly now.

BDisp %!s(int64=4) %!d(string=hai) anos
pai
achega
27a617abba
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs

+ 1 - 4
Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs

@@ -269,10 +269,7 @@ namespace Terminal.Gui {
 				}
 
 				if ((mouseFlag & MouseFlags.ReportMousePosition) == 0) {
-					Application.MainLoop.AddIdle (() => {
-						ProcessContinuousButtonPressedAsync (cev, mouseFlag).ConfigureAwait (false);
-						return false;
-					});
+					ProcessContinuousButtonPressedAsync (cev, mouseFlag).ConfigureAwait (false);
 				}