Browse Source

search processes using vim keybinds (#351)

pull/375/head
Krithic Kumar 3 years ago committed by GitHub
parent
commit
d2b7472392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      bpytop.py

4
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

Loading…
Cancel
Save