Fixes #3738. CursesDriver stops responding.

This commit is contained in:
BDisp
2024-09-16 15:29:20 +01:00
committed by Tig
parent 565793b85c
commit 433df8b9c9

View File

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