From f03a0bc2023876f015049e49ff5405c41cac8df7 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Thu, 1 Jan 2026 22:32:32 +0800 Subject: [PATCH] Terminal (Linux): supports cosmic-term version detection --- src/detection/terminalshell/terminalshell.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/detection/terminalshell/terminalshell.c b/src/detection/terminalshell/terminalshell.c index dc7c2c33b..015bbfcac 100644 --- a/src/detection/terminalshell/terminalshell.c +++ b/src/detection/terminalshell/terminalshell.c @@ -875,6 +875,9 @@ bool fftsGetTerminalVersion(FFstrbuf* processName, FF_MAYBE_UNUSED FFstrbuf* exe if(ffStrbufIgnCaseEqualS(processName, "termite")) return getTerminalVersionTermite(exe, version); + if(ffStrbufIgnCaseEqualS(processName, "cosmic-term")) + return getTerminalVersionTmux(exe, version); + #endif #ifdef _WIN32