mirror of https://github.com/aristocratos/btop.git
Best of Both Worlds. Both ways are workings now. Using enter and then moving with arrows or just using arrow down.
This commit is contained in:
parent
0790520818
commit
eebcb08e49
|
@ -292,13 +292,14 @@ namespace Input {
|
|||
if (key == "enter") {
|
||||
Config::set("proc_filter", Proc::filter.text);
|
||||
Config::set("proc_filtering", false);
|
||||
old_filter.clear();
|
||||
}
|
||||
old_filter.clear();
|
||||
}
|
||||
else if (key == "down") {
|
||||
Config::set("proc_filter", Proc::filter.text);
|
||||
Config::set("proc_filter", Proc::filter.text);
|
||||
Config::set("proc_filtering", false);
|
||||
old_filter.clear();
|
||||
}
|
||||
process("down");
|
||||
}
|
||||
else if (key == "escape" or key == "mouse_click") {
|
||||
Config::set("proc_filter", old_filter);
|
||||
Config::set("proc_filtering", false);
|
||||
|
|
Loading…
Reference in New Issue