top: allow collapsible forest view children, pgm logic
The issue cited below really dealt with preserving the 'Other filter' criteria in the rcfile. But as an aside the htop 'F6' feature (collapsed children) was raised. I took that as an implied challenge and decided to try implementing a similar feature in top. So, this commit will now provide a brand new forest view toggle ('^V') which will be used to collapse/expand forked children. [ this patch will also lead to additional patches in ] [ support of more rational vertical scrolling, since ] [ many more tasks might now be hidden in some window ] Reference(s): . where this secondary issue was raised https://gitlab.com/procps-ng/procps/issues/99 Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@@ -82,7 +82,8 @@ enum norm_nls {
|
||||
WORD_abv_mem_txt, WORD_abv_swp_txt, WORD_allcpus_txt, WORD_another_txt,
|
||||
WORD_eachcpu_fmt, WORD_exclude_txt, WORD_include_txt, WORD_noneone_txt,
|
||||
WORD_process_txt, WORD_threads_txt, WRITE_rcfile_fmt, WRONG_switch_fmt,
|
||||
XTRA_badflds_fmt, XTRA_fixwide_fmt, XTRA_warncfg_txt, XTRA_winsize_txt,
|
||||
XTRA_badflds_fmt, XTRA_fixwide_fmt, XTRA_vforest_fmt, XTRA_warncfg_txt,
|
||||
XTRA_winsize_txt,
|
||||
#ifndef INSP_OFFDEMO
|
||||
YINSP_demo01_txt, YINSP_demo02_txt, YINSP_demo03_txt, YINSP_deqfmt_txt,
|
||||
YINSP_deqtyp_txt, YINSP_dstory_txt,
|
||||
|
Reference in New Issue
Block a user