From d1a98fe69fa30e2becccfdb7225e56fa02243eea Mon Sep 17 00:00:00 2001 From: Carter Li Date: Wed, 12 Feb 2025 22:47:37 +0000 Subject: [PATCH] Terminal (Haiku): add pretty name for Haiku Terminal --- src/detection/terminalshell/terminalshell_linux.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/detection/terminalshell/terminalshell_linux.c b/src/detection/terminalshell/terminalshell_linux.c index 45f1ec566..6a99aefe2 100644 --- a/src/detection/terminalshell/terminalshell_linux.c +++ b/src/detection/terminalshell/terminalshell_linux.c @@ -359,6 +359,11 @@ static void setTerminalInfoDetails(FFTerminalResult* result) else if(ffStrbufEqualS(&result->processName, "WarpTerminal")) ffStrbufInitStatic(&result->prettyName, "Warp"); + #elif defined(__HAIKU__) + + else if(ffStrbufEqualS(&result->processName, "Terminal")) + ffStrbufInitStatic(&result->prettyName, "Haiku Terminal"); + #endif else if(strncmp(result->exeName, result->processName.chars, result->processName.length) == 0) // if exeName starts with processName, print it. Otherwise print processName