Browse Source

Fixes #3738. CursesDriver stops responding.

BDisp 10 months ago
parent
commit
962d552835
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Terminal.Gui/ConsoleDrivers/CursesDriver/UnixMainLoop.cs

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

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