summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2023-02-20 00:15:16 -0500
committerGitHub <noreply@github.com>2023-02-20 00:15:16 -0500
commitf1f07945f69bafb2b79d036ce92583c0709094fc (patch)
tree2b7f45e21469011086deb6fb8c62cf2807e92a18 /src/lib.rs
parent6d15f0100901652bd135cab7915c70f79785c047 (diff)
change: show process in tree if any ancestor or descendent matches (#1026)
* refactor: optimize kept list in tree to just store filtered values in a set * change: show all direct children of a tree process children if the parent matches * change: show process in tree if any ancestor or descendent matches
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index ebc8baf5..4129ce23 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -149,6 +149,8 @@ pub fn handle_key_event_or_break(
KeyCode::Char('c') | KeyCode::Char('C') => app.toggle_ignore_case(),
KeyCode::Char('w') | KeyCode::Char('W') => app.toggle_search_whole_word(),
KeyCode::Char('r') | KeyCode::Char('R') => app.toggle_search_regex(),
+ // KeyCode::Char('b') | KeyCode::Char('B') => todo!(),
+ // KeyCode::Char('f') | KeyCode::Char('F') => todo!(),
KeyCode::Char('h') => app.on_left_key(),
KeyCode::Char('l') => app.on_right_key(),
_ => {}