Skip to content

Commit 6831c09

Browse files
committed
TerminalShell (Linux): actually fix #814
1 parent 81fb146 commit 6831c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/terminalshell/terminalshell_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ static void setTerminalInfoDetails(FFTerminalResult* result)
487487
// For NixOS. Ref: #510 and https://github.com/NixOS/nixpkgs/pull/249428
488488
// We use processName when detecting version and font, overriding it for simplification
489489
ffStrbufSubstrBefore(&result->processName, result->processName.length - (uint32_t) strlen("-wrapped"));
490-
ffStrbufSubstrAfter(&result->processName, 1);
490+
ffStrbufSubstrAfter(&result->processName, 0);
491491
}
492492

493493
if(ffStrbufEqualS(&result->processName, "wezterm-gui"))

0 commit comments

Comments
 (0)