Skip to content

Commit

Permalink
Lock/unlock config to avoid infinite recursion
Browse files Browse the repository at this point in the history
Fix #996
  • Loading branch information
Jacajack committed Feb 7, 2025
1 parent 5535f50 commit c280bce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/btop_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,8 @@ namespace Input {
Config::set("proc_filtering", false);
old_filter.clear();
if(key == "down"){
Config::unlock();
Config::lock();
process("down");
return;
}
Expand Down

0 comments on commit c280bce

Please sign in to comment.