[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev annoying blinking of lynx with ncurses
From: |
Thomas Dickey |
Subject: |
Re: lynx-dev annoying blinking of lynx with ncurses |
Date: |
Fri, 2 Nov 2001 20:34:11 -0500 |
User-agent: |
Mutt/1.2.5i |
does it still break if you include the LYrefresh() call after LYclrtoeol()?
(I'm not sure how it looks with Japanese - your example works for me with
ISO-8859-1 and UTF-8).
On Sat, Nov 03, 2001 at 12:10:00AM +0900, Hataguchi Takeshi wrote:
> I tried to use LYclrtoeol instead of the explicit loop, but I found
> a bad result in this html (I couldn't found 'Hello!').
>
> <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();
LYrefresh(); /* you still need this line */
> +#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
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden