bug-ncurses
[Top][All Lists]
Advanced

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

unget_wch of non-8bit chars


From: Mike Gran
Subject: unget_wch of non-8bit chars
Date: Mon, 05 Oct 2009 21:29:23 -0700

Hi-

With using libncursesw from ncurses-5.7-20090808 on i686-pc-linux-gnu, I
tried to unget_wch characters then retrieve them using getn_wstr.  While
that seems to work for ASCII characters, it doesn't work for non-Latin-1
characters, apparently.

I've attached a sample program where I've tried to do that.  I unget a
newline and U+017C and try to retrieve it with getn_wstr.  getn_wstr
returns OK, and the resulting string from getn_wstr is a null string.

Thanks,

Mike Gran

 

Attachment: r039_get_wstr.c
Description: Text Data


reply via email to

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