[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV scrollok and lynx_force_repaint
From: |
Klaus Weide |
Subject: |
Re: LYNX-DEV scrollok and lynx_force_repaint |
Date: |
Wed, 5 Nov 1997 15:12:33 -0600 (CST) |
On Wed, 5 Nov 1997, John E. Davis wrote:
> On Wed, 5 Nov 1997 12:13:32 -0600 (CST), Klaus Weide <address@hidden> said:
> >Are you sure that a call to lynx_force_repaint() causes this? Which one?
>
> I know for sure that the culprit is LY_SLrefresh and not LY_SLclear
> because I changed LY_SLrefresh to
>
> PUBLIC void LY_SLrefresh NOARGS
> {
> #if 0
> if (FullRefresh) {
> SLsmg_touch_lines(0, LYlines);
> }
> #endif
> FullRefresh = FALSE;
> SLsmg_refresh();
>
> return;
> }
>
> as a quick hack to get around the problem.
Ok, I think I understand now what is happening. In the following
section in LYForms.c
#if defined(FANCY_CURSES) || defined(USE_SLANG)
if (!enable_scrollback && form->num_value == OrigNumValue)
#if defined(VMS) && !defined(USE_SLANG)
c = DO_NOTHING;
#else
c = 23;
#endif /* VMS && !USE_SLANG */
else
#endif /* FANCY_CURSES || USE_SLANG */
c = 12; /* CTRL-L for repaint */
break;
if the form->num_value has changed 12 is returned which makes the full
refresh happen. It should instead return 23, and the refresh will not
be a full one.
Klaus
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
- LYNX-DEV scrollok and lynx_force_repaint, John E. Davis, 1997/11/04
- Re: LYNX-DEV scrollok and lynx_force_repaint, John E. Davis, 1997/11/05
- Re: LYNX-DEV scrollok and lynx_force_repaint,
Klaus Weide <=
- Re: LYNX-DEV scrollok and lynx_force_repaint, John E. Davis, 1997/11/05
- Re: LYNX-DEV scrollok and lynx_force_repaint, John E. Davis, 1997/11/05
- Re: LYNX-DEV scrollok and lynx_force_repaint, Foteos Macrides, 1997/11/05
- Re: LYNX-DEV scrollok and lynx_force_repaint, Nelson Henry Eric, 1997/11/05
- Re: LYNX-DEV scrollok and lynx_force_repaint, Nelson Henry Eric, 1997/11/06