File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/detection/terminalshell Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -361,13 +361,13 @@ const FFTerminalShellResult* ffDetectTerminalShell()
361361 ffStrbufInitS (& result .shellPrettyName , result .shellExeName );
362362 }
363363
364- if (result .terminalExeName [0 ] == '.' && ffStrEndsWith (result .terminalExeName , "-wrapper " ))
364+ if (result .terminalExeName [0 ] == '.' && ffStrEndsWith (result .terminalExeName , "-wrapped " ))
365365 {
366366 // For NixOS. Ref: #510 and https://github.com/NixOS/nixpkgs/pull/249428
367367 // We use terminalProcessName when detecting version and font, overriding it for simplication
368368 ffStrbufSetNS (
369369 & result .terminalProcessName ,
370- (uint32_t ) (strlen (result .terminalExeName ) - strlen (".-wrapper " )),
370+ (uint32_t ) (strlen (result .terminalExeName ) - strlen (".-wrapped " )),
371371 result .terminalExeName + 1 );
372372 }
373373
You can’t perform that action at this time.
0 commit comments