On Wed, 23 May 2007, Kyle Wheeler wrote:
On Monday, May 21 at 12:39 PM, quoth Kyle Wheeler:On Monday, May 21 at 07:15 PM, quoth Christoph Berg:I've updated Anatoly's patch from 2005 that adds mouse tracking using slang/ncurses to mutt. With "set mouse" (unset by default) mutt will react to button1/2/3/wheel with configurable bindings. I like it :)Oooooooo! I'll test it when I get home from work, but I love the concept!Hrm; having trouble getting it to work on MacOS X. I thought I compiled both ncurses and ncursesw with --enable-ext-mouse; is there a way of testing?
The installed curses.h file would have different definitions for the mouse code (and the library will have a "6" in the so-name rather than "5"). I don't have an example at hand, but you should see some reference to BUTTON5_xxx in curses.h, and NCURSES_MOUSE_VERSION would be "2" rather than "1". -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net