mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 08:13:44 +01:00
Terminal (Windows): fix build
This commit is contained in:
@@ -317,7 +317,7 @@ static void setTerminalInfoDetails(FFTerminalResult* result)
|
||||
else if(ffStrbufIgnCaseEqualS(&result->prettyName, "sshd") || ffStrbufStartsWithIgnCaseS(&result->prettyName, "sshd-"))
|
||||
{
|
||||
const char* tty = getenv("SSH_TTY");
|
||||
if (tty) ffStrbufSetS(tty);
|
||||
if (tty) ffStrbufSetS(&result->prettyName, tty);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user