improve keyboard responsiveness

This commit is contained in:
cy384 2020-10-10 14:46:07 -04:00
parent 11585048d1
commit b51a26a924
1 changed files with 3 additions and 1 deletions

View File

@ -614,7 +614,7 @@ void event_loop(void)
// handle any GUI events
unsigned char c = 0;
switch(event.what)
switch (event.what)
{
case updateEvt:
eventWin = (WindowPtr)event.message;
@ -691,6 +691,8 @@ void event_loop(void)
}
break;
}
YieldToAnyThread();
} while (!exit_event_loop);
}