Fixes freezing on resizing when read function is executed and many Wakeup calls are done.

This commit is contained in:
BDisp
2023-09-23 21:44:51 +01:00
parent e86687ee0b
commit 8a779505b3

View File

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