From 974ee2ab0d6795d421b763c819e747f637714b6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Sun, 14 Jan 2024 17:26:54 +0800 Subject: [PATCH] TerminalShell: fix wezterm name pretty printing --- src/detection/terminalshell/terminalshell_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/terminalshell/terminalshell_linux.c b/src/detection/terminalshell/terminalshell_linux.c index 29d457504..6bbbec717 100644 --- a/src/detection/terminalshell/terminalshell_linux.c +++ b/src/detection/terminalshell/terminalshell_linux.c @@ -341,7 +341,7 @@ static void setTerminalInfoDetails(FFTerminalResult* result) if(ffStrbufEqualS(&result->processName, "wezterm-gui")) ffStrbufInitStatic(&result->prettyName, "WezTerm"); - if(ffStrbufStartsWithS(&result->processName, "tmux:")) + else if(ffStrbufStartsWithS(&result->processName, "tmux:")) ffStrbufInitStatic(&result->prettyName, "tmux"); #if defined(__ANDROID__)