mirror of
https://github.com/aristocratos/btop.git
synced 2026-01-29 00:12:01 -05:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user