[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev pre.7 patch
From: |
dickey |
Subject: |
Re: lynx-dev pre.7 patch |
Date: |
Sun, 4 Oct 1998 19:21:38 -0400 (EDT) |
>
> Here is one more Wayne'ism to get pre.7 to compile with BC and my
> pdcurses. I think this logic was lost at some point.
ok - btw, imho it should be outside the ifdef for NCURSES_MOUSE_VERSION
(but I won't change it myself unless I'm test-compiling with pdcurses ;-)
> *** LYCurses.org Wed Sep 30 15:06:48 1998
> --- LYCurses.c Wed Sep 30 20:04:08 1998
> ***************
> *** 873,884 ****
> --- 873,892 ----
> #else
>
> #ifdef NCURSES_MOUSE_VERSION
> + #if defined(__BORLANDC__) && defined(__PDCURSES__)
> + if (state)
> + {
> + SetConsoleMode(hConIn, ENABLE_MOUSE_INPUT | ENABLE_WINDOW_INPUT);
> + FlushConsoleInputBuffer(hConIn);
> + }
> + #else
> /* Inform ncurses that we're interested in knowing when mouse
> * button 1 is clicked */
> if (state)
> mousemask(BUTTON1_CLICKED | BUTTON3_CLICKED, NULL);
> else
> mousemask(0, NULL);
> + #endif /* __BORLANDC__ and __PDCURSES__ */
> #endif /* NCURSES_MOUSE_VERSION */
>
> #if defined(DJGPP) && !defined(USE_SLANG)
>
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: lynx-dev pre.7 patch,
dickey <=