[*] Unlimited input fps
This commit is contained in:
parent
1dd9d552bd
commit
004eba6e09
@ -2332,7 +2332,14 @@ namespace Aurora::Console::ConsoleTTY
|
|||||||
{
|
{
|
||||||
while (AuIsThreadRunning())
|
while (AuIsThreadRunning())
|
||||||
{
|
{
|
||||||
AuThreading::Sleep(1000 / 20);
|
if (auto pLoopSource = AuConsole::StdInBufferLoopSource())
|
||||||
|
{
|
||||||
|
pLoopSource->WaitOn(1000 / 20);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
AuThreading::Sleep(1000 / 20);
|
||||||
|
}
|
||||||
gTTYConsole.Pump();
|
gTTYConsole.Pump();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user