top: new #define added for focus ('F') toggle tweaking
Just to see if I could, the new #define will force the indentation of a parent task to be reset to zero while maintaining the proper child indentation relationship. Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
//#define TERMIOS_ONLY /* just limp along with native input only */
|
||||
//#define TOG4_NOFORCE /* no force 2 abreast mode with '4' toggle */
|
||||
//#define TOG4_NOTRUNC /* ensure no truncation in 2 abreast mode */
|
||||
//#define TREE_FOCUS_X /* 'F' resets forest view indentation to 0 */
|
||||
//#define TREE_NORESET /* sort keys do NOT force forest view OFF */
|
||||
//#define TREE_SCANALL /* rescan array w/ forest view, avoid sort */
|
||||
//#define TREE_VALTMRK /* use an indented '+' with collapsed pids */
|
||||
@@ -441,6 +442,9 @@ typedef struct WIN_t {
|
||||
int focus_pid; // target pid when 'F' toggle is active
|
||||
int focus_beg; // ppt index where 'F' toggle has begun
|
||||
int focus_end; // ppt index where 'F' toggle has ended
|
||||
#ifdef TREE_FOCUS_X
|
||||
int focus_lvl; // the indentation level of parent task
|
||||
#endif
|
||||
proc_t **ppt; // this window's proc_t ptr array
|
||||
struct WIN_t *next, // next window in window stack
|
||||
*prev; // prior window in window stack
|
||||
|
||||
Reference in New Issue
Block a user