mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
TerminalShell: support Alacritty terminal version detection
This commit is contained in:
@@ -259,6 +259,9 @@ bool fftsGetTerminalVersion(FFstrbuf* processName, FF_MAYBE_UNUSED FFstrbuf* exe
|
||||
|
||||
#endif
|
||||
|
||||
if(ffStrbufStartsWithIgnCaseS(processName, "alacritty"))
|
||||
return getExeVersionGeneral(exe, version);
|
||||
|
||||
const char* termProgramVersion = getenv("TERM_PROGRAM_VERSION");
|
||||
if(termProgramVersion)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user