mirror of
https://github.com/aristocratos/btop.git
synced 2024-09-27 22:01:29 +02:00
Fixed: Process tree filtering not case insensitive
This commit is contained in:
parent
0c6a2f701d
commit
26ac007777
@ -106,9 +106,9 @@ namespace Proc {
|
||||
//? If filtering, include children of matching processes
|
||||
if (not found and (should_filter or not filter.empty())) {
|
||||
if (not s_contains(std::to_string(cur_proc.pid), filter)
|
||||
and not s_contains(cur_proc.name, filter)
|
||||
and not s_contains(cur_proc.cmd, filter)
|
||||
and not s_contains(cur_proc.user, filter)) {
|
||||
and not s_contains_ic(cur_proc.name, filter)
|
||||
and not s_contains_ic(cur_proc.cmd, filter)
|
||||
and not s_contains_ic(cur_proc.user, filter)) {
|
||||
filtering = true;
|
||||
cur_proc.filtered = true;
|
||||
filter_found++;
|
||||
|
Loading…
Reference in New Issue
Block a user