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: Thomas Dickey
Subject: Re: under ncurses, mouse events come as escape codes
Date: Thu, 29 Sep 2005 18:31:59 -0400 (EDT)

On Thu, 29 Sep 2005, Adam Peterson wrote:

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.

no problem

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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