When sort column header emphasis was extended to a
monochrome screen, the ability to emphasize selections
on the Fields Management screen was lost when colors
were not being displayed.
This patch corrects that bug by using the capclr_hdr
terminfo string instead of capclr_msg.
Reference:
commit
0c6aa6af4190be60853acced8023470c3d1910c1
Signed-off-by: Jim Warner <james.warner@comcast.net>
char sbuf[xSUFX+1];
int b = FLDviz(w, i);
FLG_t f = FLDget(w, i);
- const char *h, *e = (i == focus && extend) ? w->capclr_msg : "";
+ const char *h, *e = (i == focus && extend) ? w->capclr_hdr : "";
// advance past leading header spaces and prep sacrificial suffix
for (h = Fieldstab[f].head; ' ' == *h; ++h) ;
, b ? '*' : ' '
, b ? w->cap_bold : Cap_norm
, e
- , i == focus ? w->capclr_msg : ""
+ , i == focus ? w->capclr_hdr : ""
, h
, Cap_norm
, b ? w->cap_bold : ""