bug-ncurses
[Top][All Lists]
Advanced

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

Re: under ncurses, mouse events come as escape codes


From: Adam Peterson
Subject: Re: under ncurses, mouse events come as escape codes
Date: Thu, 29 Sep 2005 15:41:33 -0600
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050912)

Thomas Dickey wrote:
hmm - looking closer, you also have to use the keypad() function, e.g.,
    keypad(stdscr, TRUE);

That's because wgetch() is supposed to return 8-bit values unless keypad()
is set true.

Many thanks.  That fixes it.





reply via email to

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