diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-02-06 17:15:04 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-02-06 17:15:04 +0000 |
commit | fbc26e9c4b8c8b09fdc307b6eb0d248fc243f354 (patch) | |
tree | be000941b4e8b94086e51e3515c20bbb6e24f4ab /terms.c | |
parent | fix typo (diff) | |
download | w3m-fbc26e9c4b8c8b09fdc307b6eb0d248fc243f354.tar.gz w3m-fbc26e9c4b8c8b09fdc307b6eb0d248fc243f354.zip |
[w3m-dev 03732] Re: scroll() is slow ?
* configure (use_raw_scroll): added
(config.h) use_raw_scroll
* config.h.dist (USE_RAW_SCROLL): added
* display.c (displayBuffer): ifdef USE_RAW_SCROLL
* proto.h (scroll): ifdef USE_RAW_SCROLL
(rscroll): ditto
(need_clrtoeol): if 0
(terms.c): if 0 need_clrtoeol
(scroll_raw): ifdef USE_RAW_SCROLL
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'terms.c')
-rw-r--r-- | terms.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: terms.c,v 1.43 2003/01/10 16:16:45 ukai Exp $ */ +/* $Id: terms.c,v 1.44 2003/02/06 17:15:16 ukai Exp $ */ /* * An original curses library for EUC-kanji by Akinori ITO, December 1989 * revised by Akinori ITO, January 1995 @@ -398,7 +398,10 @@ void clear(), wrap(), touch_line(), touch_column(int); void switch_wchar(FILE *); void switch_ascii(FILE *); #endif -void need_clrtoeol(void), clrtoeol(void); /* conflicts with curs_clear(3)? */ +#if 0 +void need_clrtoeol(void); +#endif +void clrtoeol(void); /* conflicts with curs_clear(3)? */ int write1(char); @@ -1444,6 +1447,7 @@ clear(void) CurrentMode = C_ASCII; } +#ifdef USE_RAW_SCROLL static void scroll_raw(void) { /* raw scroll */ @@ -1535,6 +1539,7 @@ rscroll(int n) } } } +#endif #if 0 void |