TerminalShell: code refactor

This commit is contained in:
Carter Li
2026-05-28 10:31:35 +08:00
parent 0746af7549
commit dadcccdf26
4 changed files with 23 additions and 25 deletions
@@ -30,3 +30,6 @@ typedef struct FFTerminalResult {
const FFShellResult* ffDetectShell();
const FFTerminalResult* ffDetectTerminal();
bool fftsGetShellVersion(FFstrbuf* exe, const char* exeName, FFstrbuf* version);
bool fftsGetTerminalVersion(FFstrbuf* processName, FFstrbuf* exe, FFstrbuf* version);