NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/53653: Curses doesn't always show line drawing characters correctly on wsvt25



The following reply was made to PR lib/53653; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/53653: Curses doesn't always show line drawing characters
 correctly on wsvt25
Date: Sun, 7 Oct 2018 05:21:14 +0300

 It's not the color, but turning off A_BOLD that seems to confuse it.
 The following standalone test case fails with TERM=wsvt25 and
 TERM=vt200 (but works with xterm and vt100).
 
 #include <curses.h>
 
 int
 main(void)
 {
     initscr();
 
     addch(ACS_HLINE);
     addch(ACS_HLINE | A_BOLD);
     addch(ACS_HLINE);
     addch(ACS_HLINE | A_BOLD);
 
     refresh();
     endwin();
     return 0;
 }
 
 -uwe
 


Home | Main Index | Thread Index | Old Index