mirror of https://github.com/xzeldon/htop.git
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:
parent
43c3e4d3d9
commit
88c3758051
3
htop.c
3
htop.c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue