lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV scrollok and lynx_force_repaint


From: John E. Davis
Subject: Re: LYNX-DEV scrollok and lynx_force_repaint
Date: Wed, 5 Nov 1997 17:30:24 -0500

On Wed, 5 Nov 1997 15:12:33 -0600 (CST), Klaus Weide <address@hidden> said:
>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.

Are you saying that this should be simplified to:

#if defined(VMS) && !defined(USE_SLANG)
        if (!enable_scrollback && form->num_value == OrigNumValue)
          c = DO_NOTHING;
        else
#endif
          c = 23;
        break;

--John
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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