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
This commit is contained in:
Hisham Muhammad 2014-04-25 16:05:25 -03:00
parent 43c3e4d3d9
commit 88c3758051
1 changed files with 3 additions and 0 deletions

3
htop.c
View File

@ -623,6 +623,9 @@ int main(int argc, char** argv) {
if (inc->active) { if (inc->active) {
doRefresh = IncSet_handleKey(inc, ch, panel, getMainPanelValue, NULL); doRefresh = IncSet_handleKey(inc, ch, panel, getMainPanelValue, NULL);
if (!inc->active) {
follow = true;
}
continue; continue;
} }