mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 06:00:08 +01:00
Better automatic logo type detection
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user