Skip to content

Commit d1a98fe

Browse files
committed
Terminal (Haiku): add pretty name for Haiku Terminal
1 parent ef3412f commit d1a98fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/detection/terminalshell/terminalshell_linux.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,11 @@ static void setTerminalInfoDetails(FFTerminalResult* result)
359359
else if(ffStrbufEqualS(&result->processName, "WarpTerminal"))
360360
ffStrbufInitStatic(&result->prettyName, "Warp");
361361

362+
#elif defined(__HAIKU__)
363+
364+
else if(ffStrbufEqualS(&result->processName, "Terminal"))
365+
ffStrbufInitStatic(&result->prettyName, "Haiku Terminal");
366+
362367
#endif
363368

364369
else if(strncmp(result->exeName, result->processName.chars, result->processName.length) == 0) // if exeName starts with processName, print it. Otherwise print processName

0 commit comments

Comments
 (0)