Ticket #152 (closed defect: fixed)
minor display bug with -T and TERMINFO
| Reported by: | alain | Owned by: | josephpiche |
|---|---|---|---|
| Priority: | lowest | Milestone: | 3.7.12 |
| Component: | source | Version: | |
| Severity: | trivial | Keywords: | |
| Cc: | patch: | no |
Description
Viewing the attached screenshot may help ;-)
With -T, in a white foreground xterm (or konsole or rxvt), after the first stone on the board, the foreground color is not reset to original value (black) but instead is light-grey.
In gg_utils, this correspond to the fputs (line 159)
void
write_color_char_no_space(int c, int x)
{
#ifdef TERMINFO
fprintf(stderr, "%s%c", tparm(setaf, c, 0, 0, 0, 0, 0, 0, 0, 0), x);
fputs(tparm(setaf, max_color, 0, 0, 0, 0, 0, 0, 0, 0), stderr);
#elif
Attachments
Regression Results
| Attachment | Rev. | PASS | FAIL | Nodes | Status | |
| fix-terminfo.patch | never tested | |||||
| remove-ncurses.patch | never tested |
Change History
Note: See
TracTickets for help on using
tickets.

