diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2014-04-25 16:05:25 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-04-25 16:05:25 -0300 |
commit | 88c3758051e4f9b93cc4912a7f75078901869f0e (patch) | |
tree | ae6a78f050b8e5effd1febb1752864fdc434eacf | |
parent | 43c3e4d3d9df4bcdf52cb5c83da6d51da688d093 (diff) |
Now, when you disable a filter (F4 → Esc), it will go back to unfiltered mode
but the current process will remain selected (so you can filter, choose and
then go back to unfiltered mode to see the children of that process).
Inspired by feedback at http://www.reddit.com/r/linux/comments/23wpc7/announcing_htop_103_with_new_features_bugfixes/ch1paos
-rw-r--r-- | htop.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } |