[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: |
Sun, 28 Oct 2001 19:03:18 -0500 |
User-agent: |
Mutt/1.2.5i |
would LYclrtoeol() work, rather than this explicit loop on LYaddch()?
(the loop limit is a problem, because it is not necessarily directly
related to the amount which can be cleared on the screen)
On Mon, Oct 15, 2001 at 01:05:14AM +0900, Hataguchi Takeshi wrote:
> diff -bru orig/lynx2-8-5/src/LYStrings.c lynx2-8-5/src/LYStrings.c
> --- orig/lynx2-8-5/src/LYStrings.c Thu Aug 16 07:09:52 2001
> +++ lynx2-8-5/src/LYStrings.c Sun Oct 14 21:48:24 2001
> @@ -3475,11 +3475,22 @@
> if (i < (nrdisplayed - 1))
> buffer[1] = str[++i];
> #else /* SUPPORT_MULTIBYTE_EDIT */
> +#ifndef USE_SLANG
> + int ii, xx,yy;
> +#endif /* USE_SLANG */
> if (i < (nrdisplayed - 1)) {
> buffer[1] = str[++i];
> end_multi = 1;
> } else
> end_multi = 0;
> +#ifndef USE_SLANG
> + LYGetYX(yy, xx);
> + for (ii=0; ii<strlen(buffer); ii++) {
> + LYaddch(' ');
> + }
> + LYrefresh();
> + LYmove(yy, xx);
> +#endif /* USE_SLANG */
> #endif /* SUPPORT_MULTIBYTE_EDIT */
> LYaddstr(buffer);
> buffer[1] = '\0';
> @@ -3542,12 +3553,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
- Re: lynx-dev annoying blinking of lynx with ncurses, (continued)
- Re: lynx-dev annoying blinking of lynx with ncurses, Hataguchi Takeshi, 2001/10/14
- Re: lynx-dev annoying blinking of lynx with ncurses, Atsuhito Kohda, 2001/10/14
- Re: lynx-dev annoying blinking of lynx with ncurses, Hataguchi Takeshi, 2001/10/18
- Re: lynx-dev annoying blinking of lynx with ncurses, Thomas Dickey, 2001/10/18
- Re: lynx-dev annoying blinking of lynx with ncurses, Atsuhito Kohda, 2001/10/18
- Re: lynx-dev annoying blinking of lynx with ncurses, Thomas Dickey, 2001/10/18
- Re: lynx-dev annoying blinking of lynx with ncurses, Atsuhito Kohda, 2001/10/18
- Re: lynx-dev annoying blinking of lynx with ncurses, Thomas Dickey, 2001/10/19
- Re: lynx-dev annoying blinking of lynx with ncurses, Hataguchi Takeshi, 2001/10/19
- Re: lynx-dev annoying blinking of lynx with ncurses, Atsuhito Kohda, 2001/10/20
- Re: lynx-dev annoying blinking of lynx with ncurses,
Thomas Dickey <=
- Re: lynx-dev annoying blinking of lynx with ncurses, Hataguchi Takeshi, 2001/10/31
- Re: lynx-dev annoying blinking of lynx with ncurses, Thomas Dickey, 2001/10/31