From 88c3758051e4f9b93cc4912a7f75078901869f0e Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Fri, 25 Apr 2014 16:05:25 -0300 Subject: [PATCH] =?UTF-8?q?Now,=20when=20you=20disable=20a=20filter=20(F4?= =?UTF-8?q?=20=E2=86=92=20Esc),=20it=20will=20go=20back=20to=20unfiltered?= =?UTF-8?q?=20mode=20but=20the=20current=20process=20will=20remain=20selec?= =?UTF-8?q?ted=20(so=20you=20can=20filter,=20choose=20and=20then=20go=20ba?= =?UTF-8?q?ck=20to=20unfiltered=20mode=20to=20see=20the=20children=20of=20?= =?UTF-8?q?that=20process).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Inspired by feedback at http://www.reddit.com/r/linux/comments/23wpc7/announcing_htop_103_with_new_features_bugfixes/ch1paos --- htop.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htop.c b/htop.c index b3438097..6b56727a 100644 --- a/htop.c +++ b/htop.c @@ -623,6 +623,9 @@ int main(int argc, char** argv) { if (inc->active) { doRefresh = IncSet_handleKey(inc, ch, panel, getMainPanelValue, NULL); + if (!inc->active) { + follow = true; + } continue; }