diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2020-11-18 01:28:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 01:28:53 -0500 |
commit | 669b245367d194b7f4f7a12fe29573fcd9ca4e4e (patch) | |
tree | 5d4822751b16bf4a6b46a2995348ca90b6866152 /src/app | |
parent | e43456207be0757fbb9c05f93a169063faf673b7 (diff) |
feature: Add collapsible tree entries (#304)
Adds collapsible trees to the tree mode for processes. These can be toggled via the + or - keys and the mouse by clicking on a selected entry.
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/states.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/states.rs b/src/app/states.rs index dea49b18..12037907 100644 --- a/src/app/states.rs +++ b/src/app/states.rs @@ -488,7 +488,7 @@ impl ProcWidgetState { } } - pub fn get_cursor_position(&self) -> usize { + pub fn get_search_cursor_position(&self) -> usize { self.process_search_state .search_state .grapheme_cursor |