Terminal: fixes TDE konsole version detection

Fixes #2319
This commit is contained in:
Carter Li
2026-05-11 08:51:41 +08:00
parent 0747fc0887
commit 26b3a84b8a
2 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -365,7 +365,11 @@ FF_A_UNUSED static bool getTerminalVersionKonsole(FFstrbuf* exe, FFstrbuf* versi
}
}
return getExeVersionGeneral(exe, version);
// Likely TDE konsole. See #2319
if (!getExeVersionRaw(exe, version)) {
return false;
}
return ffStrbufSubstrAfterLastC(version, ' ');
}
FF_A_UNUSED static bool getTerminalVersionFoot(FFstrbuf* exe, FFstrbuf* version) {