From abc4fb25c3183b18283f2f1e0b9cb6091ef85dc9 Mon Sep 17 00:00:00 2001 From: abrasumente <345396594@qq.com> Date: Sun, 1 May 2022 01:08:27 +0800 Subject: Added: Case insensitive process filtering --- src/freebsd/btop_collect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/freebsd') diff --git a/src/freebsd/btop_collect.cpp b/src/freebsd/btop_collect.cpp index 1cf7a1e..7c6c07c 100644 --- a/src/freebsd/btop_collect.cpp +++ b/src/freebsd/btop_collect.cpp @@ -1317,7 +1317,7 @@ namespace Proc { filter_found = 0; for (auto &p : current_procs) { if (not tree and not filter.empty()) { - if (not s_contains(to_string(p.pid), filter) and not s_contains(p.name, filter) and not s_contains(p.cmd, filter) and not s_contains(p.user, filter)) { + if (not s_contains_ic(to_string(p.pid), filter) and not s_contains_ic(p.name, filter) and not s_contains_ic(p.cmd, filter) and not s_contains_ic(p.user, filter)) { p.filtered = true; filter_found++; } else { -- cgit v1.2.3