From 09fe94da18d33d2c4e1fe415e8346fa99b9944b4 Mon Sep 17 00:00:00 2001 From: Narendran Gopalakrishnan Date: Sat, 17 Oct 2020 16:24:45 +0530 Subject: Improving Command display/sort --- ProcessList.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ProcessList.c') diff --git a/ProcessList.c b/ProcessList.c index 227e90f4..bf67dab8 100644 --- a/ProcessList.c +++ b/ProcessList.c @@ -281,7 +281,7 @@ void ProcessList_rebuildPanel(ProcessList* this) { if ( (!p->show) || (this->userId != (uid_t) -1 && (p->st_uid != this->userId)) - || (incFilter && !(String_contains_i(p->comm, incFilter))) + || (incFilter && !(String_contains_i(Process_getCommand(p), incFilter))) || (this->pidMatchList && !Hashtable_get(this->pidMatchList, p->tgid)) ) hidden = true; -- cgit v1.2.3