summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrithic Kumar <30691152+jedi2610@users.noreply.github.com>2021-12-22 18:56:40 +0000
committerGitHub <noreply@github.com>2021-12-22 19:56:40 +0100
commitd2b7472392b09eed9493a65069d3f0a8cd1b79f8 (patch)
tree27f6141972c9133ed3d84eb4dede781206ef9b54
parent757c1ab75e4c56bbce16ada31971766cf2e6db50 (diff)
search processes using vim keybinds (#351)
-rwxr-xr-xbpytop.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpytop.py b/bpytop.py
index 61eef86..d3dfd56 100755
--- a/bpytop.py
+++ b/bpytop.py
@@ -4156,7 +4156,7 @@ class Menu:
"(z)" : "Toggle totals reset for current network device",
"(a)" : "Toggle auto scaling for the network graphs.",
"(y)" : "Toggle synced scaling mode for network graphs.",
- "(f)" : "Input a NON case-sensitive process filter.",
+ "(f, /)" : "Input a NON case-sensitive process filter.",
"(shift+f)" : "Input a case-sensitive process filter.",
"(c)" : "Toggle per-core cpu usage of processes.",
"(r)" : "Reverse sorting order in processes box.",
@@ -5464,7 +5464,7 @@ def process_keys():
elif key == "c":
CONFIG.proc_per_core = not CONFIG.proc_per_core
Collector.collect(ProcCollector, interrupt=True, redraw=True)
- elif key in ["f", "F"]:
+ elif key in ["f", "F", "/"]:
ProcBox.filtering = True
ProcCollector.case_sensitive = key == "F"
if not ProcCollector.search_filter: ProcBox.start = 0