top: allow sticky 'Ctrl' bottom window code by #define <=== port of newlib 16e202d2
______________________________ original newlib message After making that new bottom window more persistent, I decided to offer a build choice for somebody who might prefer to have the rug pulled out from under him while reviewing window contents should some target task end. If 'TAGGED_BRIEF' is defined old behavior is restored. [ it should be noted, however, that when this define ] [ is active we'll lose any benefit of onetime update ] [ for the bottom window. just like with the original ] [ behavior, it is repainted with every update cycle. ] Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
c9266f367b
commit
619d4936ee
10
top/top.c
10
top/top.c
@ -4869,8 +4869,13 @@ static void wins_tag_cmdline (void) {
|
||||
putp(fmtmk("%s%s", tg2(0, SCREEN_ROWS + 1), Cap_clr_eos));
|
||||
putp(fmtmk("%s%s", tg2(0, SCREEN_ROWS + 1), Cap_norm));
|
||||
fputs(p, stdout);
|
||||
#ifdef TAGGED_BRIEF
|
||||
} else
|
||||
TAGGED_TOSS;
|
||||
#else
|
||||
}
|
||||
TAGGED_KEEP;
|
||||
#endif
|
||||
} // end: wins_tag_cmdline
|
||||
|
||||
|
||||
@ -4907,8 +4912,13 @@ static void wins_tag_generic (void) {
|
||||
putp(fmtmk("%s%s", tg2(0, SCREEN_ROWS + 1), Cap_clr_eos));
|
||||
putp(fmtmk("%s%s", tg2(0, SCREEN_ROWS + 1), Cap_norm));
|
||||
fputs(p, stdout);
|
||||
#ifdef TAGGED_BRIEF
|
||||
} else
|
||||
TAGGED_TOSS;
|
||||
#else
|
||||
}
|
||||
TAGGED_KEEP;
|
||||
#endif
|
||||
} // end: wins_tag_generic
|
||||
|
||||
|
||||
|
@ -61,6 +61,7 @@
|
||||
//#define SCROLLVAR_NO /* disable intra-column horizontal scrolls */
|
||||
//#define SCROLLV_BY_1 /* when scrolling left/right do not move 8 */
|
||||
//#define STRINGCASENO /* case insenstive compare/locate versions */
|
||||
//#define TAGGED_BRIEF /* zap Ctrl bottom window when target dies */
|
||||
//#define TERMIOS_ONLY /* use native input only (just limp along) */
|
||||
//#define TOG4_NOFORCE /* no force 2 abreast mode with '4' toggle */
|
||||
//#define TOG4_NOTRUNC /* ensure no truncation for 2 abreast mode */
|
||||
|
Loading…
Reference in New Issue
Block a user