lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev annoying blinking of lynx with ncurses


From: Thomas E. Dickey
Subject: Re: lynx-dev annoying blinking of lynx with ncurses
Date: Fri, 2 Nov 2001 10:28:42 -0500 (EST)

On Sat, 3 Nov 2001, Hataguchi Takeshi wrote:

> Ah, I'm sorry I've misunderstood your last mail.
>
> If LYclrtoeol was used, would some other characters, which should be
> shown, be disappeared?
>
> I tried to use LYclrtoeol instead of the explicit loop, but I found
> a bad result in this html (I couldn't found 'Hello!').

thanks (I'll test this case, to see the difference).  I'm about halfway
through dev.4 changes (to make UTF-8 work, I have made some changes to
the right-margin check, and am debugging a new LYaddstr function).

>
> <html>
> <head>
> <title>foo</title>
> </haed>
> <body>
> <form action="foo.cgi">
> <input type="text" name="text"> Hello!
> </form>
> </body>
> </html>
> --
> Takeshi Hataguchi
> E-mail: address@hidden
>
> NOTE!: This patch will cause bad effect. This is just for a test.
>
> --- LYStrings.c.bak   Thu Aug 16 07:09:52 2001
> +++ LYStrings.c       Fri Nov 02 22:01:52 2001
> @@ -3449,6 +3449,9 @@
>       if (Mark >= 0 && DspStart > Mark)
>           TmpStyleOn(prompting ? s_prompt_sel : s_aedit_sel);
>  #endif
> +#ifdef SUPPORT_MULTIBYTE_EDIT
> +     LYclrtoeol();
> +#endif
>       for (i = 0; i < nrdisplayed; i++) {
>  #if defined(ENHANCED_LINEEDIT) && defined(USE_COLOR_STYLE)
>           if ( Mark >= 0 && ((DspStart + i == Mark && Pos > Mark)
> @@ -3542,12 +3545,6 @@
>      }
>
>      LYmove(edit->sy, edit->sx + Pos - DspStart);
> -#ifdef SUPPORT_MULTIBYTE_EDIT
> -#if (!USE_SLANG && !defined(USE_MULTIBYTE_CURSES))
> -    if (HTCJK != NOCJK)
> -     lynx_force_repaint();
> -#endif /* !USE_SLANG && !defined(USE_MULTIBYTE_CURSES) */
> -#endif /* SUPPORT_MULTIBYTE_EDIT */
>
>  #ifdef USE_COLOR_STYLE
>      if (estyle != NOSTYLE)
>
> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden
>

-- 
T.E.Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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