bug-ncurses
[Top][All Lists]
Advanced

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

Setting background to non-ASCII characters can affect addwstr


From: Mike Gran
Subject: Setting background to non-ASCII characters can affect addwstr
Date: Wed, 07 Oct 2009 23:14:09 -0700

Hi-

It seems that if I set the background character using bkgrnd to a
non-ASCII character, it can cause calls to addwstr to not print all of
the characters in the string.

In the sample code below, I display "This is a string", then I set the
background to a dot (U+02D9), then I try to display "This is another
string".  Of the second line, it only prints "This".

If I set the background to a period instead of a dot, it works as
expected.

Thanks,

Mike Gran





Attachment: r036_bkgrnd.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]