Better automatic logo type detection

This commit is contained in:
Linus Dierheimer
2022-04-29 21:44:32 +02:00
parent 964a5aa8b4
commit cc1e876faf
6 changed files with 57 additions and 39 deletions
+2 -2
View File
@@ -147,8 +147,8 @@ void ffGetTerminalResponse(const char* request, const char* format, ...)
pfd.events = POLLIN;
pfd.revents = 0;
//Give the terminal 20ms to respond
if(poll(&pfd, 1, 20) <= 0)
//Give the terminal 35ms to respond
if(poll(&pfd, 1, 35) <= 0)
{
tcsetattr(STDIN_FILENO, TCSANOW, &oldTerm);
return;