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