bug-ncurses
[Top][All Lists]
Advanced

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

Re: 13 versus 343


From: Thomas Dickey
Subject: Re: 13 versus 343
Date: Mon, 30 Apr 2018 04:33:32 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Mon, Apr 30, 2018 at 10:16:04AM +0200, folkert wrote:
> Hi,
> 
> When I press enter, get_wch() returns 13 instead of 343.
> I link against ncursesw (and panelw) and I invoked
> setlocale(LC_ALL, "");
> before initting ncurses.
> Is this to be expected?

yes - it depends on the terminfo.  See "NOTES" section in wgetch manpage

https://invisible-island.net/ncurses/man/curs_getch.3x.html#h2-NOTES

-- 
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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