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/canvas | |
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/canvas')
-rw-r--r-- | src/canvas/widgets/process_table.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/canvas/widgets/process_table.rs b/src/canvas/widgets/process_table.rs index 0ee25b1f..22e54c16 100644 --- a/src/canvas/widgets/process_table.rs +++ b/src/canvas/widgets/process_table.rs @@ -506,7 +506,7 @@ impl ProcessTableWidget for Painter { let search_title = "> "; let num_chars_for_text = search_title.len(); - let cursor_position = proc_widget_state.get_cursor_position(); + let cursor_position = proc_widget_state.get_search_cursor_position(); let current_cursor_position = proc_widget_state.get_char_cursor_position(); let start_position: usize = get_search_start_position( |