Преглед на файлове

Prevents read blocking on Mac.

BDisp преди 4 години
родител
ревизия
0e2446588a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Terminal.Gui/ConsoleDrivers/CursesDriver/UnixMainLoop.cs

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

@@ -116,7 +116,7 @@ namespace Terminal.Gui {
 			this.mainLoop = mainLoop;
 			pipe (wakeupPipes);
 			AddWatch (wakeupPipes [0], Condition.PollIn, ml => {
-				read (wakeupPipes [0], ignore, (IntPtr)1);
+				read (wakeupPipes [0], ignore, (IntPtr)0);
 				return true;
 			});
 		}